Windows XPϼòµ¥ÅäÖñ¾»úPHPµ÷ÊÔ»·¾³
×÷ΪʵÏÖ¶¯Ì¬ÍøÕ¾µÄ¹¤¾ßÖ®Ò»£¬PHPÒÔÆäÓï·¨¼òµ¥¡¢¸ßЧ¿ìËٺͶÔÊý¾Ý¿âµÄ¹ã·ºÖ§³Ö¶øÉîÊÜÓû§»¶Ó¡£±àдPHP³ÌÐòºÍASPÒ»ÑùÐèÒªÔÚ±¾»úµ÷ÊÔ£¬Îª´ËÐèÒªÅäÖÃһϵ÷ÊÔ»·¾³¡£
Óкܶ෽°¸¿ÉÒÔÑ¡Ôñ£¬ÕâÀïÌṩÁ½ÖÖ½ÏΪ¼òÒ׵ķ½·¨¡£
²»¹ÜÊÇÄÄÖÖ·½·¨£¬¶¼ÐèÒª°²×°PHP¡£Èç¹ûÄãÊÇPHPʹÓÃÕߣ¬Äã¿ÉÄÜÔÚÍøÉÏÕÒ¹ýPHPµÄ°²×°×ÊѶ£¬ËüÃǼ¸ºõ¶¼ËµµÄºÜ¸´ÔÓ¡£ºÚÂí¸ù¾Ý×Ô¼ºµÄÌå»á£¬¾õµÃ»¹ÓбðµÄ·½·¨£¬ÄǾÍÊÇ£¬ÔÚÍøÉÏÕÒÒ»¸öPHPEasyWindows4³ÌÐò£¬ËüµÄ°²×°·Ç³£¼òµ¥£¬°²×°ÍêºóÎÞÐèÊÖ¶¯¸ü¸Äʲô£¬Ö±½Ó¿ÉÓá£
³É¹¦°²×°PHPºó£¬ÎÒÃǾͿÉÒÔÑ¡ÔñÈçÏÂÁ½ÖÖ·½·¨µÄÈÎÒâÒ»ÖÖÀ´×÷ΪÈÕºóµ÷ÊÔPHP³ÌÐòµÄ»·¾³ÁË£º
·½°¸Ò»£ºÊ¹ÓÃPHPEd¡£
PHPEdÊÇÒ»¸ö¼¯PHP³ÌÐò±à¼ºÍµ÷ÊԵŤ¾ßÈí¼þ£¬ÍêÈ«Ãâ·Ñ£¬Ìå»ýºÜС£¬Ó¢ÎÄ°æ¡£³É¹¦°²×°ºó£¬²»Í¬µÄ°æ±¾ÉèÖ÷½·¨²»¾¡Ïàͬ£¬µ«¶¼ÊÇÒ»¸öÄ¿µÄ£ºÉèÖÃPHP Server¡£ÔÚTools→SettingÖÐÕÒµ½Server±êÇ©£¬ÔÚFile ExtensionsÖеã»÷Add°´Å¥£¬¸øËü¼ÓÉÏphpÖ´ÐгÌÐò£¨¿ÉÒÔÊÇphp.exe£¬Ò²¿ÉÒÔÊÇphp4isapi.dll£©£¬Ò»ÇÐOK¡£
ÒÔºóÆô¶¯PHPEd£¬´ò¿ªÒ»¸ö×Ô¼º±àдµÄPHPÎļþ£¬µãRun£¬Çл»µ½HTMLģʽ£¬¾Í¿ÉÒÔ¿´µ½Ð§¹û¶ø²»ÊÇ´úÂë¡£
PS£ºPHPEd»¹¿É±àдCSSÎĵµ¡¢JS³ÌÐò£¬²¢ÓдúÂë¸ú×ÙÌáʾ¹¦ÄÜ£¬ÊǸö²»´íµÄ¹¤¾ß¡£
·½°¸¶þ£ºÊ¹ÓÃIIS¡£
IISÊÇWindows×é¼þ£¬Ëü¾ÍÊÇInternetÐÅÏ¢·þÎñ£¬ µ«Ä¬ÈÏÇé¿öÏÂXPûÓа²×°¡£¿ÉÔÚ¿ØÖÆÃæ°åµÄ“Ìí¼Ó/ɾ³ý³ÌÐò”½øÐÐÌí¼Ó£¬ÐèÒªÔXP°²×°¹âÅÌ¡£
°²×°ºÃIISºó£¬½øÈë¿ØÖÆÃæ°å→ÐÔÄܺÍά»¤→¹ÜÀí¹¤¾ß£¬Ë«»÷“InternetÐÅÏ¢·þÎñ”£¬Õ¹¿ª×ó±ß¿Õ¸ñµÄ“±¾µØ»ú……”£¬ÕÒµ½“ĬÈÏÍøÕ¾”£¬ÓÒ»÷Ëü→“ÊôÐÔ”£¬µãµ¯³ö´°¿ÚµÄ“Ö÷Ŀ¼”£¬µã“Ó¦ÓóÌÐòÉèÖԵēÅäÖÔ°´Å¥£¬ÔÚ“Ó¦ÓóÌÐòÓ³Éä”ÁбíÖв鿴һÏÂÀ©Õ¹ÃûÖÐÓÐûÓÐPHP£¬Èç¹ûÓоÍOK£¬Ã»ÓеĻ°£¬ÊÖ¹¤Ìí¼Ó£ºµã“Ìí¼Ó”°´Å¥£¬ÔÚµ¯³öµÄ´°¿ÚÀ“¿ÉÖ´ÐÐÎļþ”ÌîÈëPHP.exeµÄÎļþÍêÕû·¾¶£¨Ò²¿Éͨ¹ýä¯ÀÀÍê³É£©£¬À©Õ¹ÃûÌî .php £¬È·¶¨→È·¶¨£»»¹ÓÐÒ»²½£ºÔÙÓÒ»÷“ĬÈÏÍøÕ¾”→“н¨”→“ÐéÄâĿ¼”£¬°´Ïòµ¼¸ø³ö±ðÃû£¨ÈÎÒâÓÐЧ×Ö·û£©ºÍÒ»¸ö´æÔÚµÄĿ¼£¨ÊÂÏȽ¨Á¢£©£¬Íê³Éºó£¬½ñºó¾ÍÔÚÄǸöÐéÄâĿ¼½øÐÐPHP³ÌÐòµÄµ÷ÊÔ¡£ÐéÄâĿ¼¿ÉÒÔÊǶà¸ö¡£
IISϵÄPHP³ÌÐòµ÷ÊÔ·½·¨£ºÆô¶¯IIS£¬´ò¿ªÄ¬ÈÏÍøÕ¾µÄÐéÄâĿ¼£¬ÔÚÓұߴ°¸ñÎÒÃǻῴµ½ÎÒÃÇÔÚÄÇÀィÁ¢µÄ
Ïà¹ØÎĵµ£º
PHP
ÊÇÎÒÓùýµÄÓïÑÔÖУ¬×îÁîÈËÄÕ»ðµÄµ«Í¬Ê±Ò²ÊÇ×îÓÐȤµÄÓïÑÔ¡£ÎÒÖ®ËùÒÔ˵“ÁîÈËÄÕ»ð”Ö÷ÒªÊÇÒòΪº¯ÊýÃüÃû¼«Æä²»Ò»Ö¡£¾¡¹ÜÎÒÿÌ춼ҪÓõ½ÕâЩº¯Êý£¬ÎÒ»¹ÊÇÒªÏë
һϓ¾¿¾¹ÊÇ str_pos »¹ÊÇ strpos£¿ÊÇ str_split »¹ÊÇ
strsplit£¿”¡£ÁíÒ»·½Ã棬ÓÐʱºò¿ÉÒÔÓÃÒ»Ðмòµ¥µÄ´úÂë¾ÍÄܽâ¾öÒ»¸öÄÑÌâ¡£
ÏÂÃæ ......
1. PHP¿ÉÔĶÁËæ»ú×Ö·û´®
´Ë´úÂë
½«´´½¨Ò»¸ö¿ÉÔĶÁµÄ×Ö·û´®£¬Ê¹Æä¸ü½Ó½ü´ÊµäÖеĵ¥
´Ê£¬ÊµÓÃÇÒ¾ßÓÐÃÜÂëÑéÖ¤¹¦ÄÜ¡£
/**************
[email=*@length]*@length[/email] - length of random string (must be a
multiple of 2)
**************/
function readable_random_string($length = 6){
$conso= ......
PHP ÖеÄÑ»·Óï¾äÓÃÓÚÖ´ÐÐÏàͬµÄ´úÂë¿éÖ¸¶¨µÄ´ÎÊý¡£
Ñ»·
ÔÚÄú±àд´úÂëʱ£¬Äú¾³£ÐèÒªÈÃÏàͬµÄ´úÂë¿éÔËÐкܶà´Î¡£Äú¿ÉÒÔÔÚ´úÂëÖÐʹÓÃÑ»·Óï¾äÀ´Íê³ÉÕâ¸öÈÎÎñ¡£
ÔÚ PHP ÖУ¬ÎÒÃÇ¿ÉÒÔʹÓÃÏÂÁÐÑ»·Óï¾ä£º
while Ö»ÒªÖ¸¶¨µÄÌõ¼þ³ÉÁ¢£¬ÔòÑ»·Ö´ÐдúÂë¿é do...while Ê×ÏÈÖ´ÐÐÒ»´Î´úÂë¿é£¬È»ºóÔÚÖ¸¶¨µÄÌõ¼þ³ÉÁ¢Ê±Öظ´Õâ¸öÑ» ......
ÓÃPHPʵÏÖ½ø¶ÈÌõЧ¹û¡£
<?php
set_time_limit(0);
echo '<h2>ÕýÔÚ°²×°£¬ÇëÉÔºó...</h2>',
'<div style="border:1px solid #000;width:500px;"><div id="progress_bar">loading...</div></div>';
for($i=1;$i<=100;$i++){
$width = '500';
......