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

ÄÄÖÖPHP IDEÏà¶Ô½ÏºÃ

×ÜÌå¶øÂÛ£¬Ò»¸öºÃµÄIDEÐèÒªÂú×ãµÄ¹¦ÄÜ£º
¡·1.
»ù±¾µÄIDEÒªÇ󣺴úÂë¹ÜÀí£¬±à¼­Æ÷µÄ¸÷ÖÖÖÇÄܹ¦Äܵȣ»
¡·2. ÔËÐкÍdebug£º¿ÉÒÔ±¾µØÔ¶³Ì·Ö±ðscriptºÍweb
page½øÐÐrunºÍdebug£»
¡·3. ÓÉÓÚPHP¿ª·¢µÄͨ³£¹ý³Ì¶¼ÊÇ£º´úÂëÔÚremoteµÄserverÉÏ£¬¿ª·¢ÈËÔ±µÄ»úÆ÷ÐèҪͨ¹ýFTP»òÕßSSHÁ¬½Óµ½serverÉϽøÐпª·¢ºÍµ÷ÊÔ£¬Òò´ËÈç¹ûIDEÔÚÈçÉϹ¦ÄܵĻù´¡ÉÏ»¹Äܹ»Ìṩ±¾µØ±à¼­ÊµÊ±¸üе½serverÉϾ͸üºÃÀ²¡£
Ä¿Ç°Äܹ»Ê¹ÓõÄһЩIDE£º
1. Editplus/notepad++µÈ£º
ͨ¹ýsftpÉèÖÿÉÒÔÁ¬½Óµ½server¹¤×÷£¬¶øÇÒ±¾µØ±à¼­Ö±½Ó±£´æµ½serverÉÏ¡£ºÜºÃÂú×ã3£¬µ«ÊÇ1ºÍ2·½ÃæǷȱ£¬´Ó¶øЧÂʲ»¸ß¡£
2.
Eclipse PDT»òÕßZend Studio£º
Zend StudioÊÇ»ùÓÚEclipse¿ª·¢µÄPHP
IDE£¬¿ÉÒÔʵÏÖ1ºÍ2£¬µ«ÊÇ3×öµÃ²»ÊǺܺ㬲»Äܹ»ÇáËɵØʵÏÖ±¾µØ´úÂë±à¼­¿ÉÒÔÁ¢¿Ì±£´æµ½serverÉÏ£¬ÐèҪʹÓõÚÈý·½¹¤¾ß£¬ÀýÈçcvs»òÕßftpÊÖ¶¯¸üеȣ»debugÐèÒªÔÚserver¶Ë½øÐÐÅäÖ㬿ÉÓõÄÓÐZend DebugºÍXDebug£¬ÍƼöºóÕß¡£
3. PhpED:
Ä¿Ç°À´ËµÉԺõÄPHP IDE¡£¿ÉÒÔʵÏÖÈçÉÏ˵µÄ1£¬2£¬3¡£µ«ÊǶÔÓÚ3À´ËµÓиöÎÊÌâ¾ÍÊÇ£ºÔÚɾ³ýÎļþµÄʱºò²»ÄÜ×öµ½localºÍremote serverµÄͬ²½£¬ÔÚɾ³ýÒ»·½µÄʱºòÐèÒªÊÖ¶¯µØɾ³ýÁíÒ»·½¡£debugµÄÅäÖÃÊÇʹÓùٷ½µÄÅäÖã¬ÊµÖÊÒ²ÀàËÆÓÚZend DebugºÍXDebugµÄÅäÖá£


Ïà¹ØÎĵµ£º

Ò»¸öPHPµÄUDPº¯Êý

//Èç¹û$waitAckSecΪ0£¬Ôò·µ»Ø³É¹¦·¢Ë͵Ä×Ö½ÚÊý
//Èç¹û$waitAckSec´óÓÚ0£¬Ôò·µ»Ø·¢Ëͺó½ÓÊÕµ½µÄÄÚÈÝ
//ÈκÎÇé¿öÏ£¬Ê§°Ü¶¼·µ»ØFALSE
function SendUDP($host, $port, $buff, $waitAckSec=0)
{
    $result = FALSE;
    $socket = ($result=@socket_create(AF_INET, SOCK_DGRAM, SOL_U ......

·ÖÎöPHPÖеĻº´æ¼¼Êõ

¹ØÓÚPHPµÄ»º´æ¼¼ÊõÎÒ¸öÈ˵Ķ¨ÒåÊÇ¿ÉÒÔ·Ö³É3¸öÀà±ð1;
»º´æÄ£¿éÕâÕâ¸öÊÇÔÚ·þÎñÆ÷ÉÏ×öµÄ»º´æÉèÖÃ, ±ÈÈçZend¹«Ë¾µÄCache²úÆ·µÈ, Ö÷ÒªÔ­ÀíÊÇͨ¹ý¶ÔPHP´úÂëÎļþµÄÒ»´Î±àÒë±£´æÔÚÄÚ´æÖÐ, ͨ¹ý¼õÉÙI /OµÄ²Ù×÷À´¼Ó¿ì·ÃÎÊËÙ¶È, ²»ÔÚ±¾ÎÄÌÖÂÛ·¶Î§Ö®ÁÐ2;
HTML·½Ê½»òÐíÄã˵PHPÉú³ÉHTMLµÄ·½Ê½²»ÔÚ±¾ÎÄÌÖÂ۵ķ¶Î§Ö®ÁÐ, µ«ÊÇÎÒ¸öÈËÈËΪÕâÖ ......

2010.05.06 PHP È¡µÃ¿Í»§¶ËÐÅÏ¢

<?php
/*
×÷ÓãºÈ¡µÃ¿Í»§¶ËÐÅÏ¢
²ÎÊý£º
·µ»Ø£ºÖ¸¶¨µÄ×ÊÁÏ
ʹÓãº
    $code = new clientGetObj;
    1¡¢ä¯ÀÀÆ÷£º$str = $code->getBrowse();
    2¡¢IPµØÖ·£º$str = $code->getIP();
    4¡¢²Ù×÷ϵͳ£º$str = $code->getOS();
*/
cla ......

Windows Ï Apache Mysql PHP °²×°ºóµÄÅäÖÃ

1 Apache
Ð޸Ġ  documentroot   ¸ùĿ¼
         directory           ·ÃÎʸùĿ¼ȨÏÞ
         directoryindex   Ä¬ÈÏÊ×Ò³ ......

javascript php Ö®¼ä´«µÝ ÖÐÎÄ ±ÜÃâÂÒÂë

ÔÚjavascript´úÂëÖÐÓÃencodeURIComponent()º¯Êý´¦ÀíÖÐÎÄ×Ö·û´®£¬
JS´úÂ룺
<mce:script type=”text/javascript”><!--
string = encodeURIComponent(string);
location.href = index.php?keyword=’+string;
// --></mce:script>
PHP´úÂë:
<?php
$keyword = (isset($_GET ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ