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

PHP»·¾³´î½¨¹ý³Ì

1£®°²×°apache 2.2.3£¬Íê³Éºó£¬Í¨ÖªÇøÓòÒà¾ÍÊÇÓÒϽǷÅQQÄĶù»áÓÐÒ»¸öСͼ±ê£¬Èç¹ûÁÁ×ÅÂ̵Ƶϰ£¬¹§Ï²°²×°³É¹¦£¬ºìµÆÔòÒªÏë°ì·¨½â¾ÈÁË(Ö»Òª80¶Ë¿Ú²»±»Õ¼Óã¬Í¨³£ÊDz»»áÁÁºìµÆµÄ)£¡Æä¼ä×¢ÒâÌîдNetwork Domain£»Sever Name£»Administrator's Email AddressÕâÈýÏ·¾¶²ÉÓÃÁËĬÈÏ£ºC:\Program Files\
¡¡¡¡2£®°²×°MySQL-5.0.18£¬ÔËÐÐMysql°²×°Îļþ£¬²»¶ÏµÄNext£¬Æä¼äÊäÈëÒ»¸öÓÊÏ䣬ÉèÖÃÃÜÂëºÍÈ·ÈÏÃÜÂë……
¡¡¡¡3£®¿ªÊ¼ÅäÖÃPHP£¬ÕâÀïËãÊÇÄѵã°É£¡°´ËûÈ˽̳ÌÒ»²½²½×öµÄ£¬ÒòΪÅäÖÃʱҪÌí¼ÓºÜ¶àµÄ¹ØÓÚÎÒÃǸմ´½¨µÄÎļþ¼ÐµÄ²ÎÊý¡£ÔÚCÅÌ´´½¨Ò»¸öÎļþ¼Ð£¬ÃüÃûΪphp£¬°ÑÏÂÔØÀ´µÄphpÎļþ°ü£¨php-5.1.6-Win32.zip»ò±ðµÄ°æ±¾£©½âѹµ½ÆäÖС£
¡¡¡¡4£®ÔÚEÅÌ´´½¨Îļþ¼Ð²¢ÃüÃûΪhttproot£¨ÊÇÓÃÀ´·ÅÍøÒ³µÄÎļþ¼Ð£¬ÒÔ¹©apache¶ÁÈ¡£©½«phpmyadminµÄÕû¸öÎļþ¼Ðѹµ½E:\httprootÀ½âѹºóÎļþµÄ·¾¶ÊÇE:\httproot\phpmyadmin2.x.x xxxÓÖ°ÑE:\httprootÀïµÄÎļþ¼Ðphpmyadmin2.x.xxxxÖØÃüÃûΪphpmyadmin£¬ÕâÑù×öÊDZãÓÚä¯ÀÀ¡£
¡¡¡¡5£®ÅäÖÃapacheµÄÅäÖÃÎļþhttpd.conf
¡¡¡¡Í¨¹ý→¿ªÊ¼→ËùÓгÌÐò→Apache HTTP Server 2.0.55 →Configure Apache Server →Edit The Apache httpd.conf Configuration File ´ò¿ªapacheµÄÅäÖÃÎļþhttpd.conf
¡¡¡¡Ê×ÏÈÕÒµ½ DocumentRoot "C:/programfile/Apache/Apache2/htdocs"
(×¢£ºÕâÊÇÄã×°µÄapacheµÄĬÈÏwebÎĵµÎļþ¼Ð£¬ÏÖÔÚÎÒÃǰÑËûÉèÖÃ³É apache¶ÁµÄÍøÒ³Îļþ£¬Õâ¾ÍÊǸմ´½¨µÄE:\httproot)ËùÒÔ½«C:/programfile/Apache/Apache2/htdocs¸Ä³ÉE:/httproot¡¡¼ÌÐøÕÒµ½<Directory " C:/programfile/Apache/Apache2/htdocs”>Òཫ
C:/programfile/Apache/Apache2/htdocs¸ÄΪE:/httproot£¨×¢ÒâÕâÀï²»¿ÉÒÔÓ÷´Ð±¸Ü“\”£©£¬¸Ä¹ýºó±£´æ¡£
¡¡¡¡ÔÙͨ¹ý¿ªÊ¼→ËùÓгÌÐò→Apache HTTP Server 2.0.55→Control apache server→ÖеÄrestartÖØÐÂÆô¶¯apache£¬´ò¿ªIE£¬ÔÚµØÖ·À¹ÊäÈëlocalhost»Ø³µ£¬´Ëʱ³öÏÖÎļþĿ¼ÎļþÒ³Ãæ£¬ËµÃ÷ÅäÖóɹ¦ÁË£¡
¡¡¡¡6£®»Øµ½httpd.confÎļþ
¡¡¡¡ÕÒµ½ DirectoryIndex index.html index.html.var ÔÚºóÃæ¼ÓÈë index.htm index.phpÇÒÔÚ×îºó¼ÓÈë
LoadFile c:/php/php5ts.dll
LoadFile C:/php/libmysql.dll
AddType application/x-httpd-php .php
LoadModule php5_module c:/php/php5apache2_2.dll
±£´æÉèÖá£
×¢Ò⣺²»Í¬µÄ°æ±¾µ÷ÓõÄphp5apache2_2ÊDz»Ò


Ïà¹ØÎĵµ£º

ÔÝʱ½â¾öPHPÁ¬½ÓSQLserver2005ÂÒÂëÎÊÌâ.

Êý¾Ý¿âÊÇsqlserver2005,Êý¾Ý´æ´¢µÄ¾ßÌå±àÂë²»Ïê. µ½ÍøÉÏÕÒÁ˶ÎתÂ뺯Êý /*        ¶¨Òå×Ö·ûת»»º¯Êý£¬½â¾ömssqlÖÐÎÄÂÒÂëÎÊÌâ            */
function convert2utf8($string)
     {
  ......

ÓÃVIM×öPHP¿ª·¢»·¾³



ÀÏÁÎÔø¾­ÔÚPHPERÔÓÖ¾ÉÏ·¢±í¹ýһƪÎÄÕ½Ð×öÓÃVIM×öPHP¿ª·¢»·¾³,ÔÚÀïÃæÏêϸ½éÉÜÁËÓÃVIM×öphp¿ª·¢ÐèÒª×öµÄ×¼±¸,ÕâÆªÎÄÕ¾ͽáºÏһЩ×ÊÁϺÍÎÒ×Ô¼ºµÄһЩ¾­ÑéÀ´½éÉÜÏÂÓÃVIM×öC/C++¿ª·¢ÐèÒª×öµÄÊÂÇé,Ïà¶ÔÀ´ËµÒª±È×öphp¿ª·¢·½±ãЩ¡£
ǰÌáÌõ¼þÊǵ±È»ÊÇÄãÒѾ­ÏÂÔØÁËVIM,Èç¹ûûÓеϰÇëÏȵ½¹Ù·½ÍøÕ¾ÏÂÔØ×îа汾,µØÖ·ÊÇ£ºhttp:/ ......

php stdClass


ÎÊÌ⣺
ÄãÏë´´½¨Ò»¸ö¶ÔÏ󣬲¢ÔÚÆäÖÐÌí¼ÓһЩÊôÐÔ£¬µ«ÊÇÄãÈ´²»Ïë°ÑËü×÷Ϊһ¸öÃ÷È·µÄÀàÕýʽµØ¶¨ÒåËü¡£ÕâÒ»µãÔÚһЩÇé¿öÏÂÊÇÏ൱ÓÐÓõģ¬ÀýÈçµ±ÄãÐèÒª¶¨ÒåÒ»¸ö·½·¨À´·µ»Ø´øÓÐijЩÊôÐÔ£¨²»È·¶¨µÄ£©µÄ¶ÔÏóʱ£¬¾ÍÈçͬ´Ómysql_fetch_object( ) »òÕß imap_header( )µÄʹÓÃÒ»Ñù¡£
һάÊý×é,ÎÒÏÖÔÚÌØ±ðϲ»¶°ÑËüд³É¶ÔÏó,ÒòΪ¼üÅÌ´ ......

°²×°phpµÄʱºòûÓÐmysqlÖ§³ÖµÄºóÐø°²×°

ÒýÓÃhttp://www.icnote.com/Mysql-php-connector/
 ÓÉÓÚ¹«Ë¾µÄ·þÎñÆ÷¿ªÊ¼Ö»ÊÇÓÃÓÚjavaµÄÖ§³Ö£¬×°ÁËapache£¬mysql£¬php£¬µ«ÊÇphpµÄ°²×°Ã»ÓжÔmysql½øÐÐÖ§³Ö£¬½ñÌì¶ÔËû½øÐÐÁËÀ©Õ¹£¬¼Ç¼ÈçÏ¡£
      Ê×ÏÈ£¬°²×°mysqlºÍphpµÄÁ¬½ÓÀ©Õ¹£¬ÐèÒªÒÔϰü¡£¿ÉÒÔÔÚhttp://rpmfind.net/
ÕÒµ½£¬¸ù ......

½²½²phpµÄħÊõ·½·¨

PHP5.0ºó£¬phpÃæÏò¶ÔÏóÌá³É¸ü¶à·½·¨£¬Ê¹µÃphp¸ü¼ÓµÄÇ¿´ó£¡£¡
һЩÔÚPHP½ÐħÊõ·½·¨µÄº¯Êý£¬ÔÚÕâÀï½éÉÜһϣºÆäʵÔÚÒ»°ãµÄÓ¦ÓÃÖУ¬ÎÒÃǶ¼ÐèÒªÓõ½ËûÃÇ£¡£¡
1.__construct() µ±ÊµÀý»¯Ò»¸ö¶ÔÏóµÄʱºò£¬Õâ¸ö¶ÔÏóµÄÕâ¸ö·½·¨Ê×Ïȱ»µ÷Óá£
Java´úÂë
class Test { function __construct() { ec ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ