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

php»º´æδʵ¼ùÏÈÀíÂÛ

ʹÓûº´æ¼¼ÊõµÄÀíÓÉ£¿µ±È»ÊÇÌá¸ßÍøÕ¾µÄ·ÃÎÊËٶȣ¡
Ìýµ½php»º´æ¼¼ÊõÊÇʲôʱºò£¿²»¼ÇµÃÁË£¬ºÇºÇ£¬¹¤×÷µ±ÖÐһֱûעÒâÕâ¸ö¡£ÄÕ»ð~~
½ñÌì·è¿ñGoogleÁËһϣ¬»ò¶à»òÉÙÁ˽âÁËһЩ¶«Î÷£¬ÄǾͼòµ¥µÄ¹éÄÉһϰɣ¬¸÷λ¿´¹Ù±ðÈÓשͷ£¡
»º´æ¼¼Êõ·ÖΪ¶¯Ì¬»º´æ¼¼ÊõºÍ¾²Ì¬»º´æ¼¼Êõ£¬¶ÔÓÚÄÇЩPV²»ÊǺܴóµÄÖÐСÐÍÍøվʹÓö¯Ì¬»º´æ¼¼Êõ¹À¼ÆÒ²¾Í²î²»¶àÁË£¬µ«¶ÔÓÚPVºÜ´óµÄÍøÕ¾»¹µÃʹÓþ²Ì¬»º´æ¼¼Êõ¡£
»º´æ£¬Äǵ½µ×»º´æЩ¸öɶÄØ£¿
Ò»¡¢»º´æÊý¾Ý
   adodb¾ÍÊÇ»º´æµÄÊý¾Ý£¬µ±µÚÒ»´ÎÖ´ÐÐijÌõÊý¾Ý¿â²éѯµÄʱºò£¬adodb»á½«±¾´Î²éѯ»ñÈ¡µÄ½á¹û¼¯½øÐлº´æ£¬Ï´ÎÔÙÖ´ÐÐÏàͬµÄsqlÓï¾äʱ¾Í²»ÓÃÔٴζÔÊý¾Ý¿â½øÐвÙ×÷ÁË£¬Í¦ºÃ~£¡~
¶þ¡¢Ò³Ã滺´æ
    ÓÃÁ˺ܾõÄsmarty£¬Ò»Ö±Ã»Ïë¹ýÈ¥Ñо¿smartyµÄ»º´æ¼¼Êõ£¬½ñÌì¿´ÁË£¬¶÷£¬Ëü¾ÍÊÇÒ³Ã滺´æ¡£¹þ¹þ£¡~£¡~¿Éϧ£¬Ã¿´Î»¹µÃphp½âÎöÒ»´ÎµÄŶ~~
°¢ÃÖÍÓ·ð~£¡~
ÄÇô»º´æºÎʱ¸üÐÂÄØ£¿Ê²Ã´Çé¿öϸüÐÂÄØ£¿
PHP»º´æ¼¼Êõ֮ʱ¼ä´¥·¢»º´æ£º
¡¡¡¡¼ì²éÎļþÊÇ·ñ´æÔÚ²¢ÇÒʱ¼ä´ÁСÓÚÉèÖõĹýÆÚʱ¼ä,Èç¹ûÎļþÐ޸ĵÄʱ¼ä´Á±Èµ±Ç°Ê±¼ä´Á¼õÈ¥¹ýÆÚʱ¼ä´Á´ó£¬ÄÇô¾ÍÓûº´æ£¬·ñÔò¸üлº´æ¡£
¡¡¡¡É趨ʱ¼äÄÚ²»È¥ÅжÏÊý¾ÝÊÇ·ñÒª¸üУ¬¹ýÁËÉ趨ʱ¼äÔÙ¸üлº´æ¡£ÒÔÉÏÖ»Êʺ϶ÔʱЧÐÔÒªÇ󲻸ߵÄÇé¿öÏÂʹÓ㬷ñÔòÇë¿´ÏÂÃæ¡£
PHP»º´æ¼¼ÊõÖ®ÄÚÈÝ´¥·¢»º´æ£º
¡¡¡¡µ±²åÈëÊý¾Ý»ò¸üÐÂÊý¾Ýʱ£¬Ç¿ÖƸüлº´æ¡£
¡¡¡¡ÔÚÕâÀïÎÒÃÇ¿ÉÒÔ¿´µ½£¬µ±ÓдóÁ¿Êý¾ÝƵ·±ÐèÒª¸üÐÂʱ£¬×îºó¶¼ÒªÉæ¼°´ÅÅ̶Áд²Ù×÷¡£Ôõô½â¾öÄØ?ÎÒÔÚÈÕ³£ÏîÄ¿ÖУ¬Í¨³£²¢²»»º´æËùÓÐÄÚÈÝ£¬¶øÊÇ»º´æÒ»²¿·Ö²»¾­³£±äµÄÄÚÈÝÀ´½â¾ö¡£µ«Ôڴ󸺺ɵÄÇé¿öÏ£¬×îºÃÒªÓù²ÏíÄÚ´æ×ö»º´æϵͳ¡£
¡¡¡¡ÉÏÊö·½·¨Ã¿´ÎÇëÇóÈÔȻҪ¾­¹ýPHP½âÎö£¬Ôڴ󸺺ɵÄÇé¿öÏÂЧÂÊÎÊÌ⻹ÊDZÈЧÑÏÖØ£¬ÔÚÕâÖÖÇé¿öÏ£¬Ò²Ðí»áÓõ½¾²Ì¬»º´æ¡£


Ïà¹ØÎĵµ£º

php·ÖÒ³º¯Êý

<?php
function page ( $totalPage , $currentPage,$url ,$halfPer=5)
{
$total=$totalPage-1;
$re="<td><a href="\" mce_href="\""$url\" onclick=\"page=prompt('¹²{$totalPage}Ò³\\n×Ô¶¨ÒåÌøתµ½µÚ¼¸Ò³£º','');if(page>0&&page<$total)location.href=this.href+'='+(page-1);r ......

windows 7ÏÂÈçºÎ°²×°Apache + PHP + MySQL + SVNµÈµÈ

½üÀ´¶Ôphp±È½Ï¸ÐÐËȤ£¬¾Í¶Ï¶ÏÐøÐøµÄ»¨ÁËÁ½¸öÐÇÆÚµÄʱ¼ä°ÑÕû¸öphp¿ª·¢ÐèÒªÓõ½µÄ¶«Î÷¶¼×°ºÃÁË£¬´ó¸ÅµÄ°²×°¹ý³ÌÈçÏ¡£
Ò»¡¢°²×°µÄÈí¼þ:
Apache: 2.2.14
PHP:5.2.12
MySQL:5.1.42¡£
SVN:1.5.6
PHPMyAdmin:3.2.5
Zend Studio: 7.1
Zend Debugger: 5.1.14
¶þ¡¢°²×°¹ý³Ì£º
1. °²×°ºÍÅäÖÃapache
°²×°£ºÊ×ÏÈ´Óhttp://apa ......

win7ÏÂIIS ÓÃFastCGIÄ£¿é ÅäÖÃPHP ¹²ÓÐ0Ìõ»Ø¸´

×î½üÓÃwin7ÁË£¬ÅªÁ˸ö¼¤»îÂ룬Ҳ²»ÖªµÀÄÜÓõ½Ê²Ã´Ê±ºò£¬ÐÄÀï¶àÉÙÊÇÓеãÓÇÂǵģ¬Ã»¸öµ×£¬¹ÜËûµÄÄØ£¬ÏÖÔÚÄÜÓþÍÏÈÓÃ×Å£¬ÒÔǰҲûÍæÔõô¹ýVista£¬²»¹ý¸Ð¾õwin7½çÃæÉÏ»¹ÊÇÓеãÏñVistaµÄ£¬ÓÐЩ¹¦ÄÜÉÏÒ²²î²»¶à£¬²»¹ý¸Ð¾õÓÃÕâ¸öwin7»¹Õæ²»´í£¬ÎÒÒ²Ö»ÊÇÏà¶ÔXPµÄ¸Ð¾õ£¬µ±È»ÁË£¬win7µÄÓ²Å̿ռ䵹ÊÇÕ¼ÓÃÁ˲»ÀÏÉÙÎÒ19GµÄCÅÌ×°Íêºó¾Í»¹Ê£ ......

phpÉú³ÉHTML


< type="text/javascript">
smarty ¿ÉÒÔÉú³É£¬­
ÆäʵÉú³ÉµÄÔ­ÀíºÜ¼òµ¥ ­
1¡¢»ñÈ¡Ä㶯̬ҳÃæµÃÄÚÈÝ ­
2¡¢Ð´È뾲̬Îļþ­
±ÈÈ磺 ­
<? ­
//»ñÈ¡ÎļþÄÚÈÝ ­
$content=file_get_contents(http://www.www.com/viewPage.php?id=$id
); ­
//¼ì²éÊÇ·ñ´æÔÚ¾ÉÎļþ£¬ÓÐÔòɾ³ý ­
i ......

PHP³£ÓÃÄÚÖó£Á¿

ϵͳÉè¼Æ´ÓÒ»¿ªÊ¼¾ÍÓ¦¸Ã¿¼ÂDz»Í¬Æ½Ì¨µÄ¼æÈÝÐÔÎÊÌ⣬×î³£¼ûÒ»¸öÎÊÌâ¾ÍÊÇLinux/uniuxÓëWinµÄһЩ²»Í¬£¬±ÈÈç˵Îļþ·¾¶·Ö¸ô·û¡¢¶à¸ö·¾¢·Ö¸ô·ûµÈµÈ¡£PHP±¾ÉíÄÚÖÃÁ˺ܶೣÁ¿£¬ÔÚ·½±ãµÄ±àд´úÂëͬʱҲºÜºÃµÄ´¦ÀíºÃÁ˲»Í¬Æ½Ì¨ÏµÄһЩ¼æÈÝÐÔÎÊÌâ¡£±ÈÈç×î³£Óõģº
DIRECTORY_SEPARATOR    ·¾¶·Ö¸ô·û£¬WinÏÂÊÇ"\"¶ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ