Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

PHP·ÉÐÅAPI¼°AU3·ÉÐÅUDF

 ÀûÓ÷ÉÐÅAPIʵÏÖ¹«Ë¾ÄÚ²¿·¢ËͶÌÐÅ¿ÉÒÔʡϲ»ÉÙÇ®.ÍøÉÏÒ²Óв»ÉÙ·ÉÐÅAPI,µ«¸Ð¾õ²»¿É¿¿,
»¹ÊÇ×Ô¼ºÐ´ÁËÒ»¸ö¼òµ¥µÄAPI.µ÷ÓõØÖ·ÈçÏÂ,²»»á¼Ç¼·ÉÐÅÃÜÂë.
ϲ»¶µÄÅóÓÑ¿ÉÒÔÊÔÊÔ,½áºÏAU3ÓÖдÁ˸öUDF.ÕâÏ·¢¶ÌÐÅ·½±ãºÜ¶àÁË.
http://lab.l4ever.cn/fetion/api/?from=·¢ËÍÊÖ»ú&pw=·ÉÐÅÃÜÂë&to=½ÓÊÕºÅÂë&msg=¶ÌÐÅÄÚÈÝ
´«µÝµÄ²ÎÊýΪUTF-8±àÂë,×¢Òâµ÷ÓÃAPIµÄʱºò×¢ÒâµØÖ·,È«²¿¶¼Ð¡Ð´,Linux·þÎñÆ÷ÊÇÇø·Ö´óСдµÄ,
·µ»Ø²ÎÊýÓÐÁ½¶Î,Óðë½Ç·ÖºÅ·Ö¸î!·µ»ØµÄÄÚÈÝ·Ö±ðΪ:
·¢ËÍ״̬;Õý³£Ôò·µ»Ø½ÓÊÕºÅÂë|ʧ°ÜÔò·µ»Ø´íÎóÔ­Òò
ÒÔÏÂΪAu3Ó¦ÓÃʾ·¶,±£´æΪFetionSMS.au3,µ÷Óü´¿É.
²é¿´Ô´´úÂë´òÓ¡°ïÖú
01.;  ±¾UDFÓÃÓÚÀûÓ÷ÉÐÅAPI·¢ËÍÃâ·Ñ¶ÌÐÅ,½ÓÊÕºÅÂë±ØÐëΪ·¢ËͺÅÂëµÄ·ÉÐźÃÓÑ·Å¿É·¢ËÍ
02.;  UDF×÷Õß:L4EVER QQ:425145 http://L4EVER.cn
03.;  ʹÓ÷½·¨:FetionSMS("·¢ËÍÊÖ»ú","·ÉÐÅÃÜÂë","½ÓÊÕÊÖ»ú","·¢ËÍÄÚÈÝ","·µ»ØÖµ")
04.;===============================
05.; ʹÓÃÑÝʾ:
06.; #include "FetionSMS.au3"
07.; msgbox(32,"·ÉÐŶÌÐÅ",FetionSMS("15999999999","l4ever.cn","15999999999","¶ÌÐŲâÊÔSMSTEST"))
08.;===============================
09.Func FetionSMS($from,$pw,$to,$msg)
10.filedelete (@TempDir&"\SmsResult.Dat")
11.   
$GetSMSResult = InetGet("http://lab.l4ever.cn/fetion/api/?from="&$from&"&pw="&$pw&"&to="&$to&"&msg="&$msg,@TempDir&"\SmsResult.Dat",1,0)
12.if $GetSMSResult <> "0" Then
13.   
$smsresult = FileReadLine(@TempDir&"\SmsResult.Dat",1)
14.   
$strsmsresult = StringSplit ($smsresult,";")
15.
if $strsmsresult[0] <> "2" or @error ="1" Then
16.      
return("·ÉÐŶÌÐÅ - ·¢ËÍ״̬δ֪,»ñÈ¡µÄÊý¾Ý³ö´í")
17.  
Else
18.   
Select
19.       
case $strsmsresult[1] = "SendOK"
20.           
return("·¢Ëͳɹ¦")
21.       
case Else
22.         &nb


Ïà¹ØÎĵµ£º

PHPÊýѧº¯Êý£¨È«£©


Êýѧº¯Êý
Abs
º¯ÊýÃèÊö£ºmixed abs(mixed number);
·µ»ØÖµ£ºº¯Êýabs·µ»Ø²ÎÊýnumberµÄ¾ø¶ÔÖµ¡£
Acos
º¯ÊýÃèÊö£ºdouble acos(double number);
·µ»ØÖµ£ºº¯Êýacos·µ»Ø²ÎÊýnumberµÄ·´ÓàÏÒÖµ¡£Èç¹û²ÎÊýnumber´óÓÚ1»òСÓÚ1£¬
ÔòÆä·´ÓàÏÒÖµÎÞÒâÒå ¡£
Acosh --
·´Ë«ÇúÓàÏÒ
Asin
º¯ÊýÃèÊö£»double asin(double number); ......

PHP

ÎÒÊÇѧµç×ÓÉÌÎñµÄѧÉú£¬Ö÷Ҫѧϰ·½ÏòÊǵç×ÓÉÌÎñ¼¼Êõ²ãÃæµÄ¶«Î÷¡£Ñ§ÁËÒ»Äê¶àµÄʱ¼äÁË£¬¸Ð¾õСÓÐÊÕ»ñ¡£
Ç°¶Îʱ¼ä³öÈ¥ÃæÊÔflashµÄʱºò·¢ÏÖ×Ô¼ººÍ±ðÈ˵ÄÒªÇó²î¾àÉõÔ¶£¬»Øµ½Ñ§Ð£ºóŬÁ¦µÄѧϰPHP£¬×ÔÎҸоõ»¹²»´í£¬È«°àֻʣϼ¸¸öÈËÔÚѧºǫ́ÓïÑÔÁË£¬²»ÖªµÀÊÇÒòΪÓÐÁËÉÏÒ»´ÎµÄ´ò»÷»¹ÊÇÒòΪÎÒÊʺÏѧPHP£¬×ÔÈÏΪѧµÃ±È½Ï¿ì£¬ÖÁÉÙ±ÈÖ ......

PHPÖеÄsessionÏê½â

 
¡¡ÔÚPHP¿ª·¢ÖжԱÈÆðCookie£¬session ÊÇ´æ´¢ÔÚ·þÎñÆ÷¶ËµÄ»á»°£¬Ïà¶Ô°²È«£¬²¢ÇÒ²»Ïñ Cookie ÄÇÑùÓд洢³¤¶ÈÏÞÖÆ£¬±¾Îļòµ¥½éÉÜ session µÄʹÓá£
¡¡¡¡ÓÉÓÚ Session ÊÇÒÔÎı¾ÎļþÐÎʽ´æ´¢ÔÚ·þÎñÆ÷¶ËµÄ£¬ËùÒÔ²»Å¿ͻ§¶ËÐÞ¸Ä Session ÄÚÈÝ¡£Êµ¼ÊÉÏÔÚ·þÎñÆ÷¶ËµÄ Session Îļþ£¬PHP ×Ô¶¯ÐÞ¸Ä session ÎļþµÄȨÏÞ£¬Ö»±£Áô ......

Ò»´ÎNginx+PHP+MysqlµÄ²¢·¢²âÊÔ¾­Àú

 Ò»´ÎNginx+PHP+MysqlµÄ²¢·¢²âÊÔ¾­Àú
  Ò»¡¢Ó²¼þ»·¾³
      CPU:4ºËIntel(R) Xeon(R) CPU           E5504  @ 2.00GHz
      6GÄڴ棬120GÓ²ÅÌ
  ¶þ¡¢Èí¼þ»·¾³
     L ......

PHPץȡÐÂÀ˶ÁÊéƵµÀµÄС˵£¬Éú³Éµç×ÓÊé

//Ï뿴ʲôµç×ÓÊ飬ÏÈÈ¥ÐÂÀ˶ÁÊéËÑË÷£¬È»ºóÌîÈë¶ÔÓ¦µÄ²ÎÊý¼´¿É
//http://vip.book.sina.com.cn/
//µç×ÓÊé²ÎÊý
$array_book[0] = 38884;     //С˵id
$array_book[1] = 22172;    //Õ½ÚÆðʼid
$array_book[2] = 32533;   //Õ½ڽáÊøid
$array_book[3] = 'ÖйúÌØÖÖ²¿¶Ó ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ