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

php ¼¼ÊõÄÚĻѧϰ2

1.php Êý¾ÝÀàÐÍ£º¸¡µãÐÍ,×Ö·û´®,ÕûÐÎ,Âß¼­ÐÍ
2.$a="test"; print($a); ÔÚphp.ini ÖÐÉèÖÃerror_reporting=E_ALL ¾¯¸æ×´Ì¬Ê±£¬»áÓÐÌáʾ¡£´ËÓÃÓÚ²âÊÔ䶨ÒåµÄ±äÁ¿¡£¿ÉÒÔʹÓÃisset()¼ì²â±äÁ¿ÊÇ·ñ´æÔÚ,unsetÇå³ý±äÁ¿()£¬³£Á¿¶¨Òådefine("a","test");¶¨ÒåµÄ³£Á¿¾ßÓÐÈ«¾Ö×÷Óá£define ÎÞ·¨¶¨Òå¶ÔÏóµÄÊý¾Ý½á¹¹£¬²»¹ý¿ÉÒÔÏÈ´æ´¢±äÁ¿Ãû³Æ£¬È»ºóÔÙ´´½¨±äÁ¿Ê±ºòʹÓøÃÃû³Æ£¬²¢ÇÒÓÃÆäÖ±½Ó·ÃÎʶÔÏó print($age=29) ֵΪ29
$rows = mysql_num_rows($result);
if($rows === false)     // true if MySQL error, false if row count zero


Ïà¹ØÎĵµ£º

phpÖ§³Ö4ÖÖ±ê¼Ç·ç¸ñ

xml±ê¼Ç<?php    ?>
½Å±¾·ç¸ñ <script language="php"></script>
¶Ì±ê¼Ç<? ?>
asp±ê¼Ç<%   %>
Èç¹ûÏëÖ§³Ö¶Ì±ê¼ÇºÍasp±ê¼Ç£¬ÐèÒªÔÚphp.iniÖÐÅäÖÃ
short_open_tag
asp_tags
ÉèΪon ......

PHP»·¾³ IIS+PHP+MYSQL»·¾³µÄ¼ÜÉè

ºÜ¾ÃûÓÐЩһЩÓÐÓô¦µÄµÄ¶«Î÷ÁË£¡½ñÌì¾Í²»ºúÂÒµÄд¶«Î÷ÁË!дһЩÓÐÓõ졵±È»Ç°ÌáÏÂÊǺܸÐлºÜ¶à¾­³£À´ÎÒ²©¿ÍµÄÅóÓÑһϣ¡¶àл´ó¼Ò£¡£¡£¡£¡£¡
½ñÌìдµÄÊǹØÓÚphp»·¾³¼ÜÉèµÄµÚÒ»ÖÖ·½Ê½£¡µ±È»ÎҾͲ»½ØÍ¼ÁË£¡´ó¼ÒÖ»Òª°´ÕÕ²Ù×÷¾Í¿ÉÒÔʵÏֵģ¡
Ò»¡¢°²×° PHP £º±¾ÎÄPHP°²×°Â·¾¶È¡ÎªD:\php\php4\(Ϊ±Ü»ìÏý£¬PHP5.1.x°æ±¾°²×°Â·¾ ......

php »ù´¡±Ê¼Ç class

/***************************by
garcon1986********************************/
<?php
//¼òµ¥Ê¾Àý
class SimpleClass
{
public $var = 'a default value';
public function displayVar(){
echo $this->var;
}
}
// create an object´´½¨Ò»¸ö¶ÔÏó
$A = new SimpleClass;
//µ÷Ó÷½·¨
$A -> displayVa ......

php°²×°ºÍÅäÖÃ

WindowsÏÂPHPµÄ°²×°ËäÈ»¼òµ¥£¬µ«Èç¹û²»×¢Òâ·½·¨£¬ÈÔÈ»»áÈÃÄãÍ·ÌÛ¡£´ËÍ⣬PHP 5.2°æ±¾Óë֮ǰ4.x°æ±¾Ò²ÓÐһЩ²»Í¬£¬ËùÒÔÓбØÒª¼Ç¼һÏ£¬±ÜÃâÏ´ÎÍü¼ÇÁËÕâÑùµÄ°²×°ÅäÖ÷½·¨¡£
²½ÖèÒ»£ºÏÂÔØphp 5.2 for windowsµÄ°²×°°ü£¬½âѹÖÁC:\php¡£×¢Òâ´Ë½âѹĿ¼¿ÉÒÔÊÇÔÚÈκÎÅÌÏ£¬È»¶øÄ¿Â¼Ãû²»Äܰüº¬¿Õ¸ñ£»
ÒÔÏÂÊÇphp5.2µÄÎļþĿ¼£º ......

php ¼¼ÊõÄÚĻѧϰ1

1. ´Óphp4 ¿ªÊ¼Ôö¼ÓÁ˱àÒ벿·Ö£¬php4½«ÔÚÔËÐÐǰ¼ì²éÕû¸ö½Å±¾µÄÓï·¨£¬ÔÚ´Ë»ù´¡ÉϱàÒëËùÓеĺ¯Êý£¬²¢ÇÒÔËÐнű¾µÄÖ÷Òª²¿·Ö£¬Èç¹ûphp ³É¹¦´´½¨ÁËÖ¸¶¨µÄhtml,Ôò˵Ã÷½Å±¾Öв»´æÔÚ´íÎ󣬺¯Êý±àÒëÕýÈ·¡£ÒÑʵÏÖ±àÒëÒ»´Î£¬¶à´ÎÔËÐС£php4 ¿ªÊ¼Ê¹ÓÃ.php ΪÀ©Õ¹Ãû
2.php4 Ö§³Öcom,Óû§¿Éͨ¹ýº¯Êýcom,com_get,com_invoke,com_load,com_ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ