windows apache 安裝中華電信ssl
首先產生crt
你必須先安裝openssl
輸入以下指令,產生server.csr
 

lrain5477 發表在 痞客邦 留言(0) 人氣()

http://www.facebook.com/share.php?u=分享網址
http://twitter.com/home/?status=網址標題 分享網址
<a href="http://line.naver.jp/R/msg/text/?大家跟我一起用Line分享吧!%0D%0Ahttp://blog.ja-anything.com/

lrain5477 發表在 痞客邦 留言(0) 人氣()

<div id="fb-root"></div>
<script>
    window.fbAsyncInit = function() {
        FB.init({
            xfbml            : true,
            version          : 'v5.0',
        });
    };
    (function(d, s, id) {
        var js, fjs = d.getElementsByTagName(s)[0];
        if (d.getElementById(id)) return;
        js = d.createElement(s); js.id = id;
        js.src = 'https://connect.facebook.net/zh_TW/sdk/xfbml.customerchat.js';
        fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>

lrain5477 發表在 痞客邦 留言(0) 人氣()

toolBar = UIToolbar(frame: CGRectMake(0, self.view.frame.size.height - 46, self.view.frame.size.width, 46))

lrain5477 發表在 痞客邦 留言(0) 人氣()


已上架app 推播處理方式
 

lrain5477 發表在 痞客邦 留言(0) 人氣()

737 行
修改
public static function ValidateAddress($address) {
/*return preg_match('/^(?!(?>(?1)"?(?>\\\[ -~]|[^"])"?(?1)){255,})(?!(?>(?1)"?(?>\\\[ -~]|[^"])"?(?1)){65,}@)((?>(?>(?>((?>(?>(?>
)?[ ])+|(?>[ ]*
)?[ ]+)?)(\((?>(?2)(?>[--\'*-\[\]-]|\\\[ -]|(?3)))*(?2)\)))+(?2))|(?2))?)([!#-\'*+\/-9=?^-~-]+|"(?>(?2)(?>[--!#-\[\]-]|\\\[ -]))*(?2)")(?>(?1)\.(?1)(?4))*(?1)@(?!(?1)[a-z0-9-]{64,})(?1)(?>([a-z0-9](?>[a-z0-9-]*[a-z0-9])?)(?>(?1)\.(?!(?1)[a-z0-9-]{64,})(?1)(?5)){0,126}|\[(?:(?>IPv6:(?>([a-f0-9]{1,4})(?>:(?6)){7}|(?!(?:.*[a-f0-9][:\]]){7,})((?6)(?>:(?6)){0,5})?::(?7)?))|(?>(?>IPv6:(?>(?6)(?>:(?6)){5}:|(?!(?:.*[a-f0-9]:){5,})(?8)?::(?>((?6)(?>:(?6)){0,3}):)?))?(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?>\.(?9)){3}))\])(?1)$/isD', $address);
*/
return true;
}

lrain5477 發表在 痞客邦 留言(0) 人氣()

/ 身份證字號
function checkID(string) {
  re = /^[A-Z]\d{9}$/;
  if (re.test(string))
   return true; 
 }
 
// 信用卡號
function checkCreditCard(string) {
  re = /^\d{4}-\d{4}-\d{4}-\d{4}$/;
 // re = /^(\d{4}-){3}\d{4}$/;
  if (re.test(string))
   return true; 
 }
 
// 英文名稱
function checkEnglishName(string) {
  re1 = /^[A-Za-z\-]+\s+[A-Za-z\-]+$/;
  re2 = /^[A-Za-z\-]+\s+[A-Za-z\-]+\s+[A-Za-z\-]+$/;
  if (re1.test(string) || re2.test(string))
   return true; 
 }
 
// Email
function checkEmail(string) {
  re = /^.+@.+\..{2,3}$/;
  if (re.test(string))
   return true; 
 }
 
// 數字
function checkNumber(string) {
  re = /^\d+$/;
  if (re.test(string))
   return true; 
 }
 
// TextBox
function checkValue(aTextID)
 {  
  re = /\S/;
  var oText = document.all[aTextID];
  var sVal = Trim(oText.value);  
  if(!re.test(sVal)){
   try{
    alert("[" + oText.title + "]" + " 必需填寫!")
    event.returnValue = false;
    oText.focus();
    return false;
   }
   catch (e){
    //alert(e.description);
   } 
  }
  return true;
 } 

lrain5477 發表在 痞客邦 留言(0) 人氣()

$('#tab_edit_bor input[type="text"]').keypress(function(e){
if((e.shiftKey && e.keyCode == 45) || e.which!=8 &&
e.which!=0 &&(e.which<48 || e.which>57))return false
});

lrain5477 發表在 痞客邦 留言(0) 人氣()

$('#myModal').modal('show');

lrain5477 發表在 痞客邦 留言(0) 人氣()

$("#xxx").hide("slow",function(){$(this).css("display","none")});
$("#xxx").show("slow",function(){$(this).css("display","block")});

lrain5477 發表在 痞客邦 留言(1) 人氣()

 $("input:checkbox[name='ip_sel[]'][value='"+IP[i].ip+"']").prop("checked",true);

lrain5477 發表在 痞客邦 留言(0) 人氣()

$('input:checkbox:checked[name="ip_sel[]"]').map(function() { return $(this).val(); }).get();

lrain5477 發表在 痞客邦 留言(0) 人氣()

1 2 3
Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。