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

µÚÒ»Õ PHP¸ÅÊö (ÖØµã»Ø¹Ë)

1.PHPÊÇPHP: Hypertext PreprocessorµÄËõд,ÖÐÎÄÒëΪPHP:³¬Îı¾Ô¤´¦ÀíÆ÷.
2.PHPÊÇÒ»ÖÖ¼òµ¥µÄ,ÃæÏò¶ÔÏóµÄ,½âÊÍÐ͵Ä,½¡×³µÄ,°²È«µÄ,ÐÔÄܷdz£¸ßµÄ,¶ÀÁ¢Óڼܹ¹µÄ,¿ÉÒÆÖ²ÐÔµÄ,¶¯Ì¬µÄ·þÎñÆ÷¶Ë½Å±¾ÓïÑÔ.
3.PHP¾ßÓÐ¿çÆ½Ì¨ÐÔ,ÔÚ´ó¶àÊýUNIXƽ̨,Linuxƽ̨ºÍ΢ÈíWindowsƽ̨É϶¼¿ÉÒÔÔËÐÐ.
4.PHPÖ§³ÖJDBC,ÌṩMYSQL,Oracle,SybaseºÍMS SQLµÈ¶àÖÖÊý¾Ý¿â½Ó¿Ú.
5.PHPͬʱ֧³ÖÃæÏò¹ý³ÌºÍÃæÏò¶ÔÏóÁ½ÖÖ·ç¸ñµÄ¿ª·¢
6.°²×°PHPÔËÐл·¾³
7.PHPÅäÖÃÎļþ(php.ini)Ö÷ÒªÓÃÓÚ¶ÔPHP½øÐÐ״̬,ÊôÐԺ͹¦Äܵȶà¸ö·½ÃæµÄÉèÖÃ.
8.PHPÅäÖÃÎļþ(php.ini)µÄÄÚÈݲÉÓÃ"²ÎÊý=Öµ"µÄ¸ñʽ,ʹÓ÷ֺÅ(;)×÷ΪעÊÍ.
9.Apache·þÎñÆ÷µÄÌØµãÊǼòµ¥,ËÙ¶È¿ì,ÐÔÄÜÎȶ¨,²¢ÇÒ¿ÉÒÔ×÷Ϊ´úÀí·þÎñÆ÷À´Ê¹ÓÃ
10.Apache·þÎñÆ÷ÌṩFast CGIģʽºÍApacheÄ£¿éģʽÕâÁ½ÖÖ·½Ê½À´Ö§³ÖPHP
11.°²×°Apache·þÎñÆ÷
12.Apache·þÎñÆ÷´ó²¿·ÖµÄ¹¦ÄܺÍÊôÐÔ¶¼ÊÇͨ¹ýËüµÄÅäÖÃÎļþ(httped.conf)À´¹ÜÀíºÍ½øÐÐÅäÖõÄ.
13.Apache·þÎñÆ÷µÄÅäÖÃÎļþ(httped.conf)ÊÇʹÓþ®ºÅ(#)À´×÷ΪעÊ͵Ä.
14.ͨ³£ÔÚ±àдPHP³ÌÐòµÄʱºò,×î¼òµ¥µÄÖ»ÐèÒªÒ»¸ö¼Çʱ¾¾Í¿ÉÒÔÁË,µ«ÊÇÑ¡Ôñ¾ßÓиü¶à¹¦Äܵı༭Æ÷¿ÉÒÔΪ³ÌÐòµÄ±àд´øÀ´±ãÀû.


Ïà¹ØÎĵµ£º

PHPÌ×¼þ

±¾À´²»Ïë̸Õâ¸ö³ÁÖØµÄ»°Ì⣬Æäʵ˵°×ÁË£¬Èç¹ûÄãÒ»¸öPHPµÄ³ÌÐòÔ±Á¬ÔõôÅäÖû·¾³¶¼¸ã²»¶¨Ä㻹¸ã¸öP¿ª·¢Ñ½¡£µÃ£¬ÔÛ²»ËµÄãÔÚlinuxÏÂÃæ¸ã¶¨ÕâЩ£¬ÄѵÀÄãÔÚwindowsÏÂÃæÄãÒ²¸ã²»¶¨£¿
ÏÖÔÚµÄPHP¶þ½øÖư²×°°æ±¾ÒѾ­¿ÉÒÔÖ§³Öapache,iis5,iis6µÈһЩWEB·þÎñÆ÷ÁË£¬ÎªÊ²Ã´»¹ÊÇÓÐһЩÈ˲»»áÅäÖÃÄØ£¿ÕæÏ벻ͨѽ¡£¡£¡£¡£¡£¡£
ÓÚÊÇÔÚÕâÖÖ´ó ......

php dateʱ¼ä±¾µØ»¯ÎÊÌ⣨ת£©


½ñÌìÔÚдһ¸ö¶«Î÷ʱ£¬·¢ÏÖʱ¼äÒ»Ö±¶Ô²»ÉÏ£¬date("Y-m-d h:i:s") ×ÜÊÇÓë·þÎñÆ÷ʱ¼ä²î¼¸¸öСʱ£®
Ô­À´´Óphp5.1.0¿ªÊ¼£¬php.iniÀï¼ÓÈëÁËdate.timezoneÕâ¸öÑ¡ÏĬÈÏÇé¿öÏÂÊǹرյÄ
Ò²¾ÍÊÇÏÔʾµÄʱ¼ä£¨ÎÞÂÛÓÃʲôphpÃüÁ¶¼ÊǸñÁÖÍþÖαê׼ʱ¼ä
ºÍÎÒÃǵÄʱ¼ä£¨±±¾©Ê±¼ä£©²îÁËÕýºÃ8¸öСʱ

½â¾ö·½Ê½:

Ò»¡ ......

ÐÂÀËPHP¹¤³Ìʦ±ÊÊÔÌâ

1. дһ¸öº¯Êý£¬¾¡¿ÉÄܸßЧµÄ£¬´ÓÒ»¸ö±ê×¼ url
ÀïÈ¡³öÎļþµÄÀ©Õ¹Ãû
   ÀýÈç: http://www.sina.com.cn/abc/de/fg.php
?id=1
ÐèҪȡ³ö php »ò .php
2. ÔÚ HTML ÓïÑÔÖУ¬Ò³ÃæÍ·²¿µÄ meta ±ê¼Ç¿ÉÒÔÓÃÀ´Êä³öÎļþµÄ±àÂë
¸ñʽ£¬ÒÔÏÂÊÇÒ»¸ö±ê×¼µÄ meta Óï¾ä
   <META http-equiv='Content-Type
' ......

ÔõÑù²ÅÄܳÉΪPHP¸ßÊÖ£¿Ñ§»á"ÀÁ¶è"µÄ±à³Ì

      PHPÊÇһßßЧµÄÍøÂç±à³ÌÓïÑÔ£¬ÓÉÓÚËü¾ßÓбàдÁé»î¡¢ÔËÐпìËÙµÈÓŵ㣬ѸËÙ³ÉΪWeb³ÌÐòÔ±µÄÊ×Ñ¡ÓïÑÔ¡£Ç°²»¾ÃµÄÒ»·ÝȨÍþµ÷²é±íÃ÷£¬ÏÖÔÚÒѾ­ÓÐ31.6£¥µÄÍøÕ¾Ê¹ÓÃPHP×÷ΪÖ÷ÒªµÄ·þÎñÆ÷¶Ë±à³ÌÓïÑÔ¡£
¡¡¡¡µ«ÊÇ£¬Òª³ÉΪһÃûPHP±à³Ì¸ßÊÖÈ´²¢²»ÈÝÒס£²¢²»ÏñºÜ¶àÈËÏëÏóµÄÄÇÑù£¬Ö»ÒªÄܹ»·É¿ìµØ±àд ......

PHP»·¾³°²×°ºÍÅäÖÃ

¼¯³É»·¾³:WAMP...(W-windows,ÀïÃæÓÐApache·þÎñÆ÷¡¢Mysql¡¢PhpºÍMysql¿ÉÊÓ»¯¹¤¾ßSQLite)
Ps:°²×°¹ý³Ì»áÓÐÌáʾ£¬ÊÇ·ñ×ÔÆô¶¯£¬Ä¬ÈÏ¿ª·¢Ä¿Â¼¡¢Ä¬ÈÏä¯ÀÀÆ÷£¬°²×°Íê³Éºó»áÔÚÓÒϽÇÓиöС±íÅÌ£¬ÒòΪĬÈϰ²×°Íê³ÉºóÊÇÓ¢ÎİæµÄ£¬ÔÚС±íÅÌÉϵãÓÒ¼ü-->language-->Ñ¡ÔñÖÐÎľÍÐÐ)
¿ª·¢¹¤¾ß:easyeclipse php...»¹²»´íµÄÒ»¸ö¿ª·¢¹¤ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ