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

php^

  PHPÊÇÒ»ÖÖÓÃÓÚ´´½¨¶¯Ì¬WEBÒ³ÃæµÄ·þÎñ¶Ë½Å±¾ÓïÑÔ¡£ÈçͬASPºÍColdFusion£¬Óû§¿ÉÒÔ»ìºÏʹÓÃPHPºÍHTML±àдWEBÒ³Ã棬µ±·ÃÎÊÕßä¯ÀÀµ½¸ÃÒ³Ãæʱ£¬·þÎñ¶Ë»áÊ×ÏȶÔÒ³ÃæÖеÄPHPÃüÁî½øÐд¦Àí£¬È»ºó°Ñ´¦ÀíºóµÄ½á¹ûÁ¬Í¬HTMLÄÚÈÝÒ»Æð´«Ë͵½·ÃÎʶ˵Ää¯ÀÀÆ÷¡£µ«ÊÇÓëASP»òColdFusion²»Í¬£¬PHPÊÇÒ»ÖÖÔ´´úÂ뿪·Å³ÌÐò£¬ÓµÓкܺõĿçƽ̨¼æÈÝÐÔ¡£Óû§¿ÉÒÔÔÚWindows NTϵͳÒÔ¼°Ðí¶à°æ±¾µÄUnixϵͳÉÏÔËÐÐPHP£¬¶øÇÒ¿ÉÒÔ½«PHP×÷ΪApache·þÎñÆ÷µÄÄÚÖÃÄ£¿é»òCGI³ÌÐòÔËÐС£
¡¡¡¡³ýÁËÄܹ»¾«È·µÄ¿ØÖÆWEBÒ³ÃæµÄÏÔʾÄÚÈÝÖ®Í⣬Óû§»¹¿ÉÒÔͨ¹ýʹÓÃPHP·¢ËÍHTTP±¨Í·¡£Óû§¿ÉÒÔͨ¹ýPHPÉèÖÃcookies£¬¹ÜÀíÓû§Éí·Ýʶ±ð£¬²¢¶ÔÓû§ä¯ÀÀÒ³Ãæ½øÐÐÖض¨Ïò¡£PHP¾ßÓзdz£Ç¿´óµÄÊý¾Ý¿âÖ§³Ö¹¦ÄÜ£¬Äܹ»·ÃÎʼ¸ºõÄ¿Ç°ËùÓнÏΪÁ÷ÐеÄÊý¾Ý¿âϵͳ¡£´ËÍ⣬PHP¿ÉÒÔÓë¶à¸öÍâ½Ó¿â¼¯³É£¬ÎªÓû§Ìṩ¸ü¶àµÄʵÓù¦ÄÜ£¬ÈçÉú³ÉPDFÎļþµÈ¡£
Óû§¿ÉÒÔÖ±½ÓÔÚWEBÒ³ÃæÖÐÊäÈëPHPÃüÁî´úÂ룬Òò¶ø²»ÐèÒªÈκÎÌØÊâµÄ¿ª·¢»·¾³¡£ÔÚWEBÒ³ÃæÖУ¬ËùÓÐPHP´úÂ붼±»·ÅÖÃÔÚ“”ÖС£´ËÍ⣬Óû§»¹¿ÉÒÔÑ¡ÔñʹÓÃÖîÈç µÈµÄÐÎʽ¡£PHPÒýÇæ»á×Ô¶¯Ê¶±ð²¢´¦ÀíÒ³ÃæÖÐËùÓÐλÓÚPHP¶¨½ç·ûÖ®¼äµÄ´úÂë¡£
¡¡¡¡PHP½Å±¾ÓïÑÔµÄÓï·¨½á¹¹ÓëCÓïÑÔºÍPerlÓïÑÔµÄÓï·¨·ç¸ñ·Ç³£ÏàËÆ¡£Óû§ÔÚʹÓñäÁ¿Ç°²»ÐèÒª¶Ô±äÁ¿½øÐÐÉùÃ÷¡£Ê¹ÓÃPHP´´½¨Êý×éµÄ¹ý³ÌÒ²·Ç³£¼òµ¥¡£PHP»¹¾ßÓлù±¾µÄÃæÏò¶ÔÏó×é¼þ¹¦ÄÜ£¬¿ÉÒÔ¼«´óµÄ·½±ãÓû§ÓÐЧ×éÖ¯ºÍ·â×°×Ô¼º±àдµÄ´úÂë¡£
¡¡
PHPÓï·¨¸ÅÊö
A. »ù±¾Óï·¨
¼´Ê¹³õ´Î½Ó´¥PHPµÄÓû§Ò²»á·¢ÏÖ×Ô¼º¶ÔPHPµÄÓï·¨·ç¸ñ²¢²»Ä°Éú¡£
ÀýÈ磺<£¿php
echo “Hello£¡”£»
£¿>
ÏÔʾ½á¹ûΪ“Hello£¡”¡£
PHPÖУ¬ËùÓеıäÁ¿¶¼ÒÔ±êʶ“$”¿ªÍ·¡£ÎÒÃÇ¿ÉÒÔ¶ÔÉÏÊö´úÂë×öÈçϸĶ¯£º
<£¿php
$greeting = “Hello£¡”£»
echo $greeting£»
£¿>
¸Ä±äºóµÄ´úÂëÏÔʾ½á¹û²»±ä¡£
PHPÖÐʹÓÓ.”·ûºÅÁ¬½Ó²»Í¬µÄ×Ö·û´®£¬¶øÆäËüµÄËãÊõÔËËã·ûÔò¼Ì³ÐÁËÁ÷Ðбà³ÌÓïÑԵķç¸ñ¡£¾ÙÀýÈçÏ£º
<£¿php
$greeting = “Hello£¡”£»
$num = 3 + 2£»
$num++£»
echo “num people£¡”£»
£¿>
ÏÔʾ½á¹ûΪ“Hello£¡6 people£¡”¡£
¡¡¡¡PHP¶Ô¸÷ÖÖÔËËã·û¼°ÔËËã¹æÔò¶¼ÓÐÒ»Ì×ÍêÕûµÄ¹æ¶¨£¬Èç¹ûÓû§¾ßÓÐC»òC++ÓïÑԵıà³Ì±³¾°µÄ»°£¬¿ÉÒÔ·¢ÏÖÒ»Çж¼µÃÐÄÓ¦ÊÖ¡£
¡¡¡¡ÓëPerlÓïÑÔÒ»Ñù£¬ÔÚPHPÖУ¬Èç¹ûÔÚË«ÒýºÅ°üº¬µÄ×Ö·û´®Öк¬ÓбäÁ¿µÄ»°£¬¸Ã±


Ïà¹ØÎĵµ£º

PHPÈçºÎÓëJS½øÐн»»¥£¿

½ñÌìÓÖͻȻ·¢ÏÖÁËÒ»¸ö¼¼ÇÉ£¬¾ÍÊÇPHP¿ÉÒÔ´«Öµ¸øjs£¬ÈçºÎ×öÄØ£¿
Ô­À´PHPµÄÔ­ÀíÊÇÕâÑùµÄ£º
PHPµÄËùÓÐÓ¦ÓóÌÐò¶¼ÊÇͨ¹ýWEB·þÎñÆ÷(ÈçIIS»òApache)ºÍPHPÒýÇæ³ÌÐò½âÊÍÖ´ÐÐÍê³ÉµÄ£¬¹¤×÷¹ý³Ì£º
(1)µ±Óû§ÔÚä¯ÀÀÆ÷µØÖ·ÖÐÊäÈëÒª·ÃÎʵÄPHPÒ³ÃæÎļþÃû£¬È»ºó»Ø³µ¾Í»á´¥·¢Õâ¸öPHPÇëÇ󣬲¢½«ÇëÇó´«ËÍ»¯Ö§³ÖPHPµÄWEB·þÎñÆ÷¡£
(2)WEB·þÎñÆ ......

PHPÂëÅ©½ø»¯Ê·1_Zend

Zend-PHP±àÂë¹æ·¶
1.¶ÔÓÚÖ»°üº¬PHPµÄÎļþ£¬"?>"ÊDz»ÔÊÐí´æÔڵġ£×¢ÊÍ£º·Àֹĩβ±»ÒâÍâµÄ×¢Èë¿Õ°×²¢ÏÔʾÊä³ö¡£
2.Ëõ½øӦʹÓÃËĸö¿Õ¸ñµÄËõ½ø£¬¶ø²»Ê¹ÓÃÖƱí·ûTAB¡£
3.Ò»ÐÐ80¸ö×Ö·ûÊDZȽϺÏÊʵģ¬×î¶àΪ120×Ö·û¡£
4.ÐеĽáÊø·ûÖ»ÄÜÊDZê×¼µÄUNIXÎı¾ÎļþµÄ»»ÐУ¬»»ÐзûÔÚÎļþÖбíʾΪ10£¬»ò16½øÖÆµÄ 0x0A¡£
²»ÒªÊ¹ÓÃwin ......

ÔõÑù½â¾öPHPÖÐÎÄÂÒÂëÎÊÌâ

×î½üÔÚCSDN¸Õ¿ªÁËÕâ¸ö²©¿Í£¬Ã»Ê²Ã´Ê±¼ä°ÑÒÔǰдµÄÎÄÕ°á¹ýÀ´£¬Ö»ÄÜÓпÕÂýÂýÀ´ÁË¡£
 --------------------------ÕâƪÎÄÕ½öÏ׸øÄÇЩһֱÔÚPHPÂÒÂëÎÊÌâÉÏÀ§»óµÄÈË¡£
A.Ê×ÏÈ˵ÏÂHTMLÖÐÎÄÂÒÂëÎÊÌâµÄ½â¾ö·½·¨¡£
±ÈÈçÓиöindex.htmlµÄÒ³Ã棨ÕâÀïÊÇÖ¸ÕæÕýµÄ¾²Ì¬Ò³Ã棬Ð޸ķþÎñÆ÷µÄ……α¾²Ì¬µÄÇë¿´·½°¸B£©
1. ......

phpС±Ê¼Ç


<!--
/* Font Definitions */
@font-face
{font-family:ËÎÌå;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:SimSun;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:"\@ËÎÌå" ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ