php¶ÁÈ¡xmlÊý¾Ý - PHP / »ù´¡±à³Ì
http://zh.wikipedia.org/w/api.php?action=parse&format=xml&page=%E7%BD%91%E7%BB%9C%E8%90%A5%E9%94%80
ËÄÜÓÃphp°ÑÕâ¸öxml¶Á³öÀ´£¬ÎÒÊÔ¹ýÒ»Ö±ÊDZ¨Õâ¸ö´í
Warning: DOMDocument::load(http://zh.wikipedia.org/w/api.php?action=parse&format=xml&page=%E7%BD%91%E7%BB%9C%E8%90%A5%E9%94%80) [domdocument.load]: failed to open stream: HTTP request failed! in D:\Program Files\wamp\www\RSS.php on line 6
¸ßÊÖ°ï¸öæ°¡ лл£¡
ûÓÐÈ˰ïæÂð?
qing....
ÐèÒª¼ÓÉÏUser-AgentµÄÍ·¡£
dingsongtao´ð°¸ÊÇÕýÈ·µÄ£¬µ«ÊÇ£¬ÎªÊ²Ã´ÒªÕâô×öÄØ£¿ÎÒ¸ãjavaµÄ£¬php²»¶®£¡Äܽ«ÏÂÔÀíÂð£¿
ÓÃsampleXML£¬·Ç³£¼òµ¥£¬¾ßÌå²Ù×÷¿ÉÒÔ¿´Ò»ÏÂphp_munal
ÐèÒª¼ÓÉÏ·ÃÎʵÄÍ·¡£
Ö÷ÒªÊÇHost£¬User-Agent
¶Ô·½·þÎñÆ÷ÏÞÖÆÁ˵ġ£
{{
Ïà¹ØÎÊ´ð£º
Ôڲɼ¯Ò»¸öÒ³ÃæµÄʱºòͨ³£¶¼ÊÇʹÓÃfile_get_contents($url)
²»¹ý·µ»ØµÄ½á¹ûÓÐʱºò»á²»È«
Èç¹ûÔÚhtmlÖÐʹÓà document.ready,ÔÚÒ³Ãæ×¼±¸ºÃºó£¬Ê¹ÓÃajax¶ÁÈ¡±ðÒ»²¿·ÖµÄÊý¾Ý
ÔÙͨ¹ýÐÞ¸Ähtml±êÇ©µÄÄÚÈÝ£¬¾Í²¿·ÖµÄÊý¾Ý¾ ......
×î½üÒ»¸öÏîÄ¿ÖÐÓöµ½Ò»¸öÎÊÌ⣺ÔÚÔÓеÄÒ»Ì×ϵͳÖÐ(php¿ª·¢)Ìí¼ÓһЩС¹¦ÄÜ(jsp¿ª·¢)£¬ÔÀ´Óû§ÏµÍ³¶¼ÊÇphp¿ª·¢µÄ£¬ÎÒÈçºÎÔÚjsp¿ª·¢µÄ¹¦ÄÜÖÐ×öµ½Óû§ÐÅÏ¢sessionͬ²½ÄØ£¿ ÓÐÈËÊÇ·ñÓÐ×ö¹ýÀàÒÔÏîÄ¿£¬ÏëÌýÌý´ó¼ÒµÄ¿´·¨
......
ÔÚfirefoxä¯ÀÀÆ÷ÏÂÕý³£µÇ½£¬µ«ÔÚIE ä¯ÀÀÆ÷ÏÂÎÞ·¨µÇ½£¬Ã¿´Î¶¼»áÖØÐÂÉú³ÉÒ»¸ösession,ÔÀ´µÄÄÚÈݻᶪʧ¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£Ôõô»ØÊÂ......
¾ßÌåÇé¿ö£¿²Â²â¿ÉÄÜÊÇÄã±¾»úIEµÄcookie±»½ûÓÃÁ˰ɣ¬¿ÉÒÔ¿´¿´
cookie Æ ......
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¿Õ¼ä£¬Ö§³ÖMYSQLÊý¾Ý¿â
Ϊ½ÚÊ¡·ÑÓã¬ÏÖÏëͨ¹ýÓòÃûתÏòĿ¼ÐÎʽ½øÐйÜÀí£¨¼´½«ÓòÃûA¼Ç¼£Û°üÀ¨¶¥¼¶ÓòÃû¼°¶þ¼¶ÓòÃû£Ý¶¼Ö¸Ïòͬһ¿Õ¼ä£©
È磺·ÃÎÊÓòÃû abcd.cn Ö±½Ó·ÃÎÊÍøÕ¾¸ùĿ¼
·ÃÎʶþ¼¶ÓòÃû ef.abcd.cn ......