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

ÀûÓÃWindows Schedule TaskÔËÐÐphp³ÌÐò

¼Æ»®ÈÎÎñ£¨Schedule Task£©ÊÇwindowsƽ̨ÉϺÍcronÀàËƵÄÒ»¸ö³ÌÐò£¬µ±È»¹¦ÄÜÉϲîÁ˺ܶàÁË¡£
ÒòΪÐèҪÿ¸öСʱÔËÐÐÒ»¸öPHP³ÌÐò£¬ÊÖ¶¯²Ù×÷²»ÏÖʵÁË¡£
Ê×ÏÈÔÚcmdϲâÊÔ£¬ÀýÈ磺 c:\appserv\php5\php.exe "C:\AppServ\www\temp2.php"
ÓÐÒ»µãҪעÒâ¾ÍÊÇÈç¹ûÄǸöPHPÒýÓÃÁËÆäËûÒ³Ã棬ÐèÒªÌṩ¾ø¶Ô·¾¶ÁË£¬ÖÁÉÙÎҵIJâÊÔ½á¹ûÈç´Ë¡£
ÉèÖüƻ®ÈÎÎñ£¬¿ÉÒÔÀûÓÃAdd Schedule TaskµÄwizard¡£×îºóÐèÒªÔڸ߼¶ÉèÖÃÀïÃæUntil£º timeÉèÖÃΪ±ÈÄãµÄ¿ªÊ¼Ê±¼äÔç1·ÖÖÓ¡£
ÒòΪÎÒÔڱʼDZ¾ÉϲâÊÔ£¬ÓÃÁ˵ç³Ø£¬°ÑsettingÀïÃæ¹ØÓÚpower managementµÄÈ¥µô¡£
¾ßÌå²Î¿¼£º
http://manual.b2evolution.net/Set_up_a_Windows_Scheduled_Task
http://sharpertutorials.com/windows-task-scheduler/


Ïà¹ØÎĵµ£º

PHPÍøÂç±à³ÌÄã×¼±¸ºÃÁËÂð£¿

      ´óÈýÏÂѧÆÚ£¬ÎÒ½Ó´¥µ½ÁËPHP£¬Ñ§ÁËÒ»µã»ù±¾µÄÓï·¨£¬ÒòΪ¸úCµÄÓï·¨ºÜÏñ£¬ËùÒÔѧÆðÀ´ºÜÊ¡Á¦¡£½¥½¥µØÎÒϲ»¶ÉÏÁËPHPÕâÃÅÓïÑÔ£¬ÒòΪÓÃËü¿ÉÒÔ×öÍøÕ¾£¬µ½ÁË´óËÄÎÒ±ã¸ü¼ÓÉîÈëµØѧPHPÁË£¬Ñ§Ï°ÓÃPHP×ö¶«Î÷³ÉÁËÎÒÉú»îÖеÄÒ»²¿·Ö...............
       PHPÊÇÔËÐÐÓÚ·þÎñÆ ......

Nginx + PHP£¨FastCGI£©¡±Web·þÎñÆ÷

   ÏÂÃæÊÇÓÃ100¸ö²¢·¢Á¬½Ó·Ö±ðȥѹÉú²ú»·¾³ÖÐͬһ¸ºÔؾùºâÆ÷VIPÏ¡¢ÌṩÏàͬ·þÎñµÄÁ½Ì¨·þÎñÆ÷£¬Ò»Ì¨ÎªNginx£¬Áíһ̨ΪApache£¬NginxÿÃë´¦ÀíµÄÇëÇóÊýÊÇApacheµÄÁ½±¶¶à£¬Nginx·þÎñÆ÷µÄϵͳ¸ºÔØ¡¢CPUʹÓÃÂÊÔ¶µÍÓÚApache£º
¡¡¡¡Äã¿ÉÒÔ½«Á¬½ÓÊý¿ªµ½10000¡«30000£¬È¥Ñ¹NginxºÍApacheÉϵÄphpinfo.php£¬ÕâÊÇÓÃä¯ÀÀÆ÷·ÃÎ ......

phpÖÐempty()£¬is_null()£¬isset()£¬boolÖ®¼äµÄÇø±ð


´ÓÕâ¸öͼÖУ¬¿ÉÒÔºÜÇå³þµÄ¿´µ½Ò»ÖÖÁªÏµ£º
¼ÙÉè $var ÊÇÈκÎtype¡£
µ± empty($var) Ϊ true ʱ£¬ (bool)($var) Ϊ false ¡£·´Ö®ÒàÈ»¡£
ͬÑù£¬
µ± is_null($var) Ϊ true ʱ£¬ isset($var) Ϊ false ¡£·´Ö®ÒàÈ»¡£
¼ÙÈç:
$i=$j+1;
ÕâÀïµÄis_null($j)Ϊtrue
¿É¼û£º
issetÓÃÓÚÅжÏ䶨ÒåµÄÇé¿ö¡£
Empty¿ÉÒÔÅжÏδ¶¨Ò ......

PHPÈ¡¶þ½øÖÆÎļþÍ·¿ìËÙÅжÏÎļþÀàÐÍ


<?php
$filename
=
"
D:
\\
296.mid
"
;
$file
     =
fopen
(
$filename
,
"
rb
"
)
;
$bin
      =
fread
(
$file
,
2
)
;
//Ö»¶Á2×Ö½Ú
fclose
(
$file
)
;
$strInfo
  = @
unpack
(
"
c2chars
" ......

ÂÌÉ«php×ÊÔ´ÍøÕ¾Õýʽ³ÉÁ¢

 ÖйúµÚÒ»µµÂÌÉ«PHP×ÊÔ´·ÖÏíÃÅ»§,רעÓÚ´´ÐºÍÔ­´´ÀàÔ´Âëphp×ÊÔ´£¬Ô­´´ÊÓƵphp×ÊÔ´£¬Ô­´´µäÐÍÄ£¿éphp×ÊÔ´£¬Ô­´´php¿ªÔ´×ÊÔ´£¬Ô­´´php½Ì³Ì×ÊÔ´£¬Ô­´´Íøվģ°å×ÊÔ´ ¡£ÍøÕ¾µØÖ· http://www.phpzy.com/
ÂÌÉ«php×ÊÔ´ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ