phpº¯ÊýÃû×Ö´óСдûÇø±ðÂ𣿠- PHP / »ù´¡±à³Ì
PHP code: <?php function writemyname() { echo "wahaha"; } writemyname(); WRITEMYNAME(); ?> ÎÒ·¢ÏÖÊä³öÀ´ÊÇÒ»ÑùµÄ ΪʲôÄØ£¿ Ϊʲô±äÁ¿¾Í±ØÐëÇø·Ö´óСд£¿
ÄǵÃÎÊphp¿ª·¢ÈËÔ±ÁË ÎÒ¾õµÃ Ö÷ÒªÊǹ淶»¯»òÕ߸öÈËÏ°¹ß°É ÎÒ×Ô¼ºÏ²»¶È«²¿Ð¡Ð´ º¯ÊýȷʵûÊ£¬±äÁ¿¾Í²»ÐÐÁË£¬Èç$_GETºÍ$_get¾Í²»ÊÇÒ»»ØÊ ÁíÍâ PHP code: echo " myname is ".asdasd; //ÆäʵÊÇûÓж¨ÒåµÄ£¬ÎÒ´Öµ±³É±äÁ¿ÁË ÎªÊ²Ã´Ö±½ÓÊä³öûÓж¨ÒåµÄ±äÁ¿£¬¶ø²»»á±¨´í¡£ echo " myname is ".asdasd; Êä³ö myname is asdasd Óë±äÁ¿ÓÐʲô¹Øϵ£¿ º¯Êý¿ÉÒÔ×Ô¶¨Ò壬±äÁ¿¾Í²»ÐÐÁË »¹ÊǵÃÎÊÒÔÏ¿ª·¢phpµÄÈËÔ± ¹À¼ÆÊÇ°´ÕÕËûÃÇ×Ô¼ºÏ²»¶µÄÏ°¹ßÀ´¿ª·¢µÄÈö ÊÇÕâÑù×Ó°¡£¿ Ö÷ÒªÊÇÀÏÃÀ×ÜÊÇ°Ñ´óСд¸ã´í£¬ºÇºÇÒýÓà ÄǵÃÎÊphp¿ª·¢ÈËÔ±ÁË Êǵģ¬ÕâÒªÎÊÎÊËûÃDzÅÐС£ PHP code echo " myname is ".asdasd; //asdasdÆäʵÊÇûÓж¨ÒåµÄ£¬ÎÒ´íµ±³É±äÁ¿ÁË ÎªÊ²Ã´Ö±½ÓÊä³öûÓж¨ÒåµÄ±äÁ¿£¬¶ø²»»á±¨´í¡£ phpµÄ¹æÔò£¬classºÍfunctionÊDz»Çø·Ö´óСдµÄ£¬ÆäËûÒ»°ã¶¼ÊÇÒªÇø·Ö´óСдµÄ¡£ ¿ª·¢Ò»°ã»¹ÊÇÒª¹æ¶¨×Ô¼ºµÄ±àÂë¹æ·¶Å¶...
Ïà¹ØÎÊ´ð£º
Ôڲɼ¯Ò»¸öÒ³ÃæµÄʱºòͨ³£¶¼ÊÇʹÓÃfile_get_contents($url) ²»¹ý·µ»ØµÄ½á¹ûÓÐʱºò»á²»È« Èç¹ûÔÚhtmlÖÐʹÓà document.ready,ÔÚÒ³Ãæ×¼±¸ºÃºó£¬Ê¹ÓÃajax¶ÁÈ¡±ðÒ»²¿·ÖµÄÊý¾Ý ÔÙͨ¹ýÐÞ¸Ähtml±êÇ©µÄÄÚÈÝ£¬¾Í²¿·ÖµÄÊý¾Ý¾ ......
×î½üÒ»¸öÏîÄ¿ÖÐÓöµ½Ò»¸öÎÊÌ⣺ÔÚÔÓеÄÒ»Ì×ϵͳÖÐ(php¿ª·¢)Ìí¼ÓһЩС¹¦ÄÜ(jsp¿ª·¢)£¬ÔÀ´Óû§ÏµÍ³¶¼ÊÇphp¿ª·¢µÄ£¬ÎÒÈçºÎÔÚjsp¿ª·¢µÄ¹¦ÄÜÖÐ×öµ½Óû§ÐÅÏ¢sessionͬ²½ÄØ£¿ ÓÐÈËÊÇ·ñÓÐ×ö¹ýÀàÒÔÏîÄ¿£¬ÏëÌýÌý´ó¼ÒµÄ¿´·¨ ......
ÈçÌ⣬Ôõôд¸öheadÍ·²¿ ÈÃÒ³Ã滺´æ1ÐÇÆÚ¡£ header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); Äã°ÑÀïÃæµÄʱ¼ä£¬¸Ä³Éµ±Ç°Ê±¼ä¼ÓÉÏÒ»¸öÐÇÆÚ ¼ÇµÃҪת»»³Égmtʱ¼ä ÎÒÕâÑùдµÄ ²»ÖªµÀÐв»ÐС£ Ò»¸öÐ ......
Warning: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC Çý¶¯³ÌÐò¹ÜÀíÆ÷] δ·¢ÏÖÊý¾ÝÔ´Ãû³Æ²¢ÇÒδָ¶¨Ä¬ÈÏÇý¶¯³ÌÐò, SQL state IM002 in SQLConnect in D:\0\msc\msc\tel.php on line 44 Í ......
ÔÚÐÞ¸ÄÍêphp.ini£¬ºÍhpptd.confºó´ò¿ªhttp://localhostÄܹ»ÏÔʾIt Works!ͨ¹ýapacheÖ§³Öphp5²âÑé,²»¹ý²»ÖªµÀΪʲôºóÀ´´ò¿ªhttp://localhostºÍhttp://localhost/index.phpЧ¹û¶¼ÊÇPHPÐÅÏ¢¡£ ´ò¿ªhttp://localhost/i ......