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

ÅäÖà WINDOWS 2003 IIS 6.0 µÄ PHP»·¾³

¶àÅóÓѶ¼Ìáµ½¹ý WINDOWS 2003 + IIS 6.0 °´ÕÕÍøÉÏÌṩµÄ·½·¨ ÎÞÂÛÔõôÅäÖö¼²»³É¹¦ ËÑË÷ÁËһϠ¿´µ½µ½´¦¶¼ÊÇͬһ¸ö°æ±¾µÄ·­°æתÔØ ¹ûÈ»ÊDz»Äܳɹ¦
ÏÖÔÚÐðÊöһϱ¾Õ¾ÔÚWINDOWS 2003 IIS 6.0 ÖÐÊÇÈçºÎÅäÖà PHP»·¾³µÄ
Èà IIS6.0 Ö§³Ö PHP -=> php4.3.9 µÄ°²×°ÅäÖÃ
²»½¨ÒéʹÓð²×°°æ ÕâÀïÑ¡ÓÃÁË php4.3.9 µÄ½âѹ°æ
µÚÒ»²½ ½â¿ªphp-4.3.9-Win32.zipѹËõ°ü Äã¿ÉÒÔ°ÑËü·ÅÔÚC:\PHPÏÂÃæ
µÚ¶þ²½ °Ñ C:\PHPÏÂÃæµÄ php.ini-dist Îļþ¸´ÖƵ½C:\WINDOWSĿ¼Ï ²¢¸ÄÃû³Éphp.ini ¸ù¾Ý²»Í¬Çé¿öÄã¿ÉÒÔ×ÔÐÐÐÞ¸ÄijЩ²ÎÊý Ê×ÏÈ ÎÒÃÇÐèÒª¸æÖªPHPÔںδ¦¿ÉÒÔÕÒµ½ÆäÀ©Õ¹¹¦ÄÜÄ£¿éÎļþ ÏÂÃæÐÞ¸Ä C:\windows\php.ini Îļþ ÐèҪעÒâµÄÈçÏÂ
²éÕÒ extension_dir ×Ö´® ÐÞ¸ÄΪÄã PHP Ŀ¼Àï extensions µÄ·¾¶:
; Directory in which the loadable extensions (modules) reside
extension_dir = "C:\PHP"
ÈçÉÏ ÉèΪPHPÎļþµÄËùÔÚĿ¼¼´¿É ±¾ÀýÖпÉÒÔÉèΪ“extension_dir=C:\php”
µÚÈý²½ °Ñ C:\php\php4ts.dll ¸´ÖƵ½ C:\windows\system32Ŀ¼ÏÂ
µÚËIJ½ ¿ØÖÆÃæ°æ——¡·¹ÜÀí¹¤¾ß——¡·Internet·þÎñ¹ÜÀíÆ÷——¡·µãÑ¡“Web ·þÎñÀ©Õ¹”——¡·ÔÚÓұߴ°¿Úµã»÷“Ìí¼ÓÒ»¸öÐ嵀 Web ·þÎñÀ©Õ¹”——¡·À©Õ¹ÃûΪ “PHP”——¡·ÔÙµã»÷“Ìí¼Ó”——¡·ÔÚ³öÏֵĴ°¿ÚÀïÌîÉÏ“C:\PHP\sapi\php4isapi.dll” ²¢È·¶¨ È»ºóÔÙµãÑ¡ Web ·þÎñÀ©Õ¹ PHP ²¢Ñ¡ÔñÔÊÐí ÈçͼËùʾ(¸½¼þ:IIS3-IIS6)
µÚÎå²½ ÔړĬÈÏÍøÕ¾ÊôÐÔ”´°¿ÚÉÏ°´ “Ö÷Ŀ¼”±êÇ© µã“ÅäÖÔ°´Å¥ ÔÚµ¯³öµÄ“ӳл”´°¿ÚÖеãÈ¡“Ìí¼Ó”°´Å¥£¬ÔÚµ¯³öµÄ“Ìí¼Ó/±à¼­Ó¦ÓóÌÐòÀ©Õ¹ÃûÓ³Ïñ”¶Ô»°¿òÖеē¿ÉÖ´ÐÐÎļþ”Îı¾¿òÖÐÊäÈë“c:\PHP\sapi\php4isapi.dll” “À©Õ¹Ãû”Îı¾¿òÖÐÊäÈë“.php”£¨×¢ÒâÒ»¶¨ÒªÓÐÄǸöµã£© ²¢¹´Ñ¡ "¼ì²éÎļþÊÇ·ñ´æÔÚ"Ïî ÈçͼËùʾ(¸½¼þ:IIS7-IIS9)
µÚÁù²½ ÔړĬÈÏWebÕ¾µãÊôÐÔ”´°¿ÚÉϵãÈ¡“ISAPIɸѡÆ÷”±êÇ©£¬µã»÷“Ìí¼Ó”°´Å¥£¬ÔÚµ¯³öµÄ“ɸѡÆ÷ÊôÐÔ”´°¿ÚµÄ“ɸѡÆ÷Ãû³Æ”ÖÐÊäÈë“PHP” “¿ÉÖ´ÐÐÎļþ”ÖÐä¯ÀÀÑ¡¶¨“c:\PHP\sapi\php4isapi.dll” È»ºóÈ·¶¨   ÈçͼË


Ïà¹ØÎĵµ£º

PHP¶ÔXMLµÄÖ§³Ö

PHP´ÓPHP5¿ªÊ¼£¬³¹µ×ÖØбàдµÄºÍÐÂÔöÁ˶ÔXMLµÄÀ©Õ¹£¬Èç SAX ½âÎöÆ÷¡¢DOM¡¢SimpleXML¡¢XMLReader¡¢XMLWriter ºÍ XSLT ´¦Àí³ÌÐò¡£ËùÓÐÕâЩÀ©Õ¹¶¼ÒÔ libxml2 Ϊ»ù´¡¡£
=============================
1¡¢DOMDocument¶ÔÏó³£Ó÷½·¨£º
=============================
a£©createElement(elementName)
    ¸Ã· ......

PHP»ñÈ¡ºº×ÖÆ´ÒôÊ××Öĸ

<FORM METHOD=POST ACTION="#">
<INPUT TYPE="text" NAME="name">
<INPUT TYPE="submit" value="query" name="sub">
</FORM>
<?php
function getinitial($str)
{
$asc=ord(substr($str,0,1)); //ord()»ñÈ¡ASCII
if ($asc<160) //·ÇÖÐÎÄ
{
if ($asc>=48 ......

PHPÅúÁ¿É¾³ý¼¼ÇÉ


Ê×ÏÈÒªÁ˽âsqlÓï¾ä  
 
$SQL="delete from `PHP100` where id in (1,2,4)";
±íµ¥´ó¸ÅÊÇ£º
 
<form action="" method="post">
<input name="ID_Dele[]" type="checkbox" id="ID_Dele[]" value="1"/>
<i ......

¿ªÊ¼PHP֮·

½ñÌì2010-02-26£¬¿ªÊ¼ÎÒµÄphpѧϰ֮·£¬
¼Æ»®ÔÚδÀ´µÄÒ»¶Îʱ¼äÄÚ£¬ÓÃ×ã¹»¶àµÄʱ¼äºÍ¾«Á¦À´Ñ§Ï°Á˽âphp¡£
×öµ½¾«Í¨Àí½â»¹ÓоÍÊÇ×Ô¼º¶ÀÁ¢µÄ¿ª·¢³öһϵÁеÄÍøÕ¾£¬×÷Ϊ¶Ô×Ô¼ºÑ§Ï°µÄ¼ìÑé¡£
×öºÃ¼¼Êõ×ܽáºÍ¼¼ÊõÄÚºËÀí½â ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ