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

ʹÓà PHPnow ´î½¨ PHP »·¾³[ͼ]

 ´î½¨ PHP Æäʵ²»ºÜÄÑ£¬Ö»ÊÇÓе㷱Ëö¡£ÒªÊÇ×Ô¼º´î½¨Ò»´Î PHP + MySQL »·¾³ºÜÊÇ·Ñʱ¡£¸üÔãµÄÊÇ£¬ºÜ¶àÐÂÊÖÔÚÅäÖà PHP
ʱ³£³£³öÏÖÕâÑùÄÇÑùµÄÎÊÌâ¡£ÖîÈç mysql À©Õ¹¡¢zend °²×°Ê§°ÜµÈµÈÎÊÌâ¡£Õâʱ£¬ÎÒÃÇÐèÒªÒ»¸ö¿ìËÙ¡¢±ê×¼ÇÒרҵµÄ PHP
Ì×¼þ°ü¡£PHPnow ¾ÍÕâÑùÓ¦Ô˶øÉú£¬ÎªÄã¿ìËٴרҵµÄÐéÄâÖ÷»ú¡£
Óë PHPnow µÄÃû×ÖÒ»Ñù£¬ÈÃÎÒÃÇÒ»Æð PHPNow!
Ê×ÏÈ´Ó http://www.phpnow.org/download.html
ÏÂÔØ ×îаæ PHPnow¡£PHPnow ÓÐÁ½ÖÖ·â×°£¬Ò»ÊÇ exe ×Ô½âѹ°æ£¨ÍƼö£¬±¾ÎÄÕë¶Ô´Ë°æ£©£¬¶þÊÇ´¿ 7z µµ°¸£¨Ã»ÓÐ exe ×Ô½âѹ£©¡£
Ö´ÐÐ PHPnow-1.4.x.exe ³öÏÖÏÂͼËùʾ¡£»Ø³µ¼´¿É¡£
ͼ-1£º½âѹ¶Ô»°¿ò
ÔÚ×Ô¶¯½âѹÍê±Ïºó£¬½«×Ô¶¯Ö´ÐÐ Init.cmd ½øÐгõʼ»¯¶¯×÷¡£Èç ͼ-2 ʾ£º
ÆÚ¼ä¿ÉÄܳöÏÖ·À»ðǽÌáʾ£¬ÇëÔÊÐí¡£
ͼ-2£ºInit.cmd ¹ý³Ì
ͼ-3£º½â³ý·À»ðǽ
Init.cmd Ê®ÃëÖÓ¼´¿ÉÍê³É¡£È«²¿Íê³Éºó£¬½«×Ô¶¯´ò¿ªÄ¬ÈÏÒ³¡£
£¨Èç¹ûûÓУ¬ÊÔÊÔÊÖ¶¯´ò¿ª http://127.0.0.1£©
ͼ-4£º´î½¨³É¹¦
Èç¹ûÄãÖ»Ïë´î½¨Ò»¸öÍøÕ¾£¬ÉÏÃæµÄ»·¾³ÒѾ­×ã¹»¡£ºÜ¶¼Ê±ºòÎÒÃÇÐèÒª¿ªÉè¶à¸ö¶ÀÁ¢µÄÍøÕ¾¡£ÀýÈçÂÛ̳ºÍÖ÷Ò³·Ö¿ª¡¢ºÍÅóÓѹ²Ïí·þÎñÆ÷µÈµÈ¡£Õâʱ¾ÍÒªÓõ½ ÐéÄâÖ÷»ú ÁË¡£
ÏÂÃæ˵˵ PHPnow ÐéÄâÖ÷»úµÄʹÓ᣺ܼòµ¥¡£
Ë«»÷Ö´ÐÐ D:\PHPnow\PnCp.cmd £¨¿ÉÄÜÄãµÄ°²×°Â·¾¶²»ÊÇ D:\PHPnow£©£¬ÊäÈë 2 ºó»Ø³µ¡£
°´ÕÕÌáʾÊäÈëн¨ÐéÄâÖ÷»úÐÅÏ¢¡£Èç ͼ-5 Ëùʾ¡£
ͼ-5£º¿ªÉèÐéÄâÖ÷»ú
ÊäÈëÍêÐÅÏ¢»Ø³µºó£¬½«×Ô¶¯ÖØÆô Apache ÒÔ±ãÉúЧ¡£
È»ºó·ÃÎʸղÅÌí¼ÓµÄÓòÃû£¬×¢ÒâÊÂÏȽâÎöºÃÓòÃûÖ¸ÏòÄãµÄ·þÎñÆ÷ IP¡£
Èç¹ûûÓÐÓòÃû»òÕß²»»áÓ㬿ÉÒÔͨ¹ý±à¼­ C:\WINDOWS\system32\drivers\etc\hosts À´Ê¹ÓÓÐéÄâÓòÃû”¡£
±¾ÀýÖÐµÄ bbs.test.com ¾ÍÊÇÔÚ “127.0.0.1 localhost” µÄÏÂÒ»ÐÐÌí¼ÓÒ»ÐÐ “127.0.0.1 bbs.test.com” ʵÏֵġ£
ͼ-6£ºÐéÄâÖ÷»ú¿ªÉè³É¹¦
¿ÉÄÜÄ㻹ÐèҪΪÿ¸öÐéÄâÖ÷»ú·ÖÅä MySQL Êý¾Ý¿â£¬ÏÂÃæ½éÉÜÏÂÈçºÎʹÓà phpmyadmin ·ÖÅäÓû§ºÍÊý¾Ý¿â¡£
´ò¿ª http://127.1/phpMyAdmin£»Óà root µÇ½¡£
È»ºóµã»÷ “ȨÏÞ”ÔÙµã»÷ “Ìí¼ÓÐÂÓû§”¡£
ÌîдºÃÐ嵀 Óû§Ãû ºÍ ÃÜÂ룻
Ñ¡ÔñµÚ¶þÏî “Create database with same name and grant all privileges”¡£
ÆäËûµÄ±£³ÖĬÈÏ£»ÐèÒªÌáµÄÊÇ£¬È«¾ÖȨÏ޿ɲ»ÒªÑ¡£¬³ý·Ç±ØÒª£¬·ñÔòÈ«²»Ñ¡¡£
µã»÷ [Ö´ÐÐ] ¼´¿ÉÍê³É¡£ÄÑÃ÷°×¾Í¿´¿´Í¼°É¡£
ͼ-7£ºÌí¼ÓÊý¾Ý¿âÓû§¡£
°Ñ¸Õ²ÅÌí¼ÓµÄÓû§ÃûºÍÃÜ


Ïà¹ØÎĵµ£º

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

 ÀûÓ÷ÉÐÅAPIʵÏÖ¹«Ë¾ÄÚ²¿·¢ËͶÌÐÅ¿ÉÒÔʡϲ»ÉÙÇ®.ÍøÉÏÒ²Óв»ÉÙ·ÉÐÅAPI,µ«¸Ð¾õ²»¿É¿¿,
»¹ÊÇ×Ô¼ºÐ´ÁËÒ»¸ö¼òµ¥µÄAPI.µ÷ÓõØÖ·ÈçÏÂ,²»»á¼Ç¼·ÉÐÅÃÜÂë.
ϲ»¶µÄÅóÓÑ¿ÉÒÔÊÔÊÔ,½áºÏAU3ÓÖдÁ˸öUDF.ÕâÏ·¢¶ÌÐÅ·½±ãºÜ¶àÁË.
http://lab.l4ever.cn/fetion/api/?from=·¢ËÍÊÖ»ú&pw=·ÉÐÅÃÜÂë&to=½ÓÊÕºÅÂë&msg=¶ÌÐÅÄÚÈ ......

PHP»á»°(Session)ʹÓÃÈëÃÅ

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

phpѧϰÊղأºPHPÊý×éµÄ×ܽá

 
Ò»¡¢Ê²Ã´ÊÇÊý×é
Êý×é¾ÍÊÇÒ»×éÊý¾ÝµÄ¼¯ºÏ£¬°ÑһϵÁÐÊý¾Ý×éÖ¯ÆðÀ´£¬ÐγÉÒ»¸ö¿É²Ù×÷µÄÕûÌå¡£Êý×éµÄÿ¸öʵÌ嶼°üº¬Á½Ï¼üºÍÖµ¡£
¶þ¡¢ÉùÃ÷Êý¾Ý
ÔÚPHPÖÐÉùÃ÷Êý×éµÄ·½Ê½Ö÷ÒªÓÐÁ½ÖÖ£ºÒ»ÊÇÓ¦ÓÃarray()º¯ÊýÉùÃ÷Êý×飬һÊÇÖ±½ÓΪÊý×éÔªËظ³Öµ¡£
<1>array()º¯ÊýÉùÃ÷µÄÊý×éµÄ·½Ê½array([mixed...]) ²ÎÊýmixedµÄÓï·¨ ......

³õѧPHPµÄ18¸ö»ù´¡Àý³Ì

 
ÈçºÎ´´½¨ÎÒÃǵĵÚÒ»¸öPHPÒ³ÃæÄØ£¿·Ç³£¼òµ¥µÄ£¡Ñ¡ÔñÎÒÃÇʹÓõÄÒ»¸ö×îºÃµÄÉè¼Æ¹¤¾ß£¬µ±È»ÄãÒ²¿ÉÒÔ Ö»Ê¹ÓüÇʱ¾¡£´´½¨Ö®ºó¼ÇµÃÒª±£´æΪÀ©Õ¹ÃûΪPHPµÄÎļþ£¬È»ºó´«µ½ÎÒÃǵķþÎñÆ÷
ÉÏ¡£
¡¡¡¡ÔÚ±àдPHP³ÌÐò֮ǰͨ³£ÎÒÃÇÐèÒªÅäÖÃÎÒÃǵĻ·¾³£¬Ò²¾ÍÊÇ˵·þÎñÆ÷
ÒªÖ§³ÖPHP²ÅÄÜÐа¡
¡¡¡¡Ò»¡¢PHPµÄ»ù±¾½á¹¹£º
¡¡¡¡Ê¹ÓÃIncl ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ