Ò»¶ÔÒ»Ãâ·Ñ×Éѯ£º 13913005726 025-66045668

ÎÞÂÛÊÇÄÄÖÖÔ´´úÂë³ÌÐòÒ»Ö±²»ÄܶÔÖÐÎÄÓкܺõÄÖ§³Ö£¬ÕâÔÚËùÓгÌÐòÀﶼÊÇÒ»¸öͨ²¡¡£wordpressµÄÒ²ÊÇ£¬ËùÓеİ汾¶¼´æÔÚ´ò¿ªÖÐÎÄÁ´½Ó±¨´í£¬¼´³öÏÖ404Ò³Ãæ´íÎóµÄÎÊÌâ¡£¶øÕâÊÇÓÉÓÚwordpress²»Ö§³ÖÖÐÎĵıàÂ룬¼´°ÑwordpressÐÞ¸ÄΪGBK»òUTF-8µÄ±àÂë²Å¿ÉÒÔ¡£

Ä¿Ç°ÍøÉÏ´æÔڵĽâ¾ö·½°¸ÊÇÐÞ¸Äwp-includeÖеÄclasses.phpÎļþ´úÂë¡£µ«ÊÇÔÚ½ñÄêгöµÄwordpress3.0°æ±¾ÒÔÉϵÄÎļþÖУ¬ÊDz»´æÔÚ¸Ãclasses.phpµÄÎļþ¡£Ô­À´Ð°æµÄwordpress3.0ÒÔÉϵİ汾Êǽ«classes.phpÕâ¸öÎļþ»»³ÉÁËclass-wp.phpÎļþ¡£ËùÒÔÖ»ÒªÐ޸ĸÃÎļþ£¬¼´¿É½â¾öWordpress3.0°æÖÐÎÄtag±êÇ©Á´ÃñÕþÍøÕ¾½¨Éè½»Á÷»ã±¨½Ó±¨´íµÄÎÊÌâ¡£

½â¾ö²½ÖèÈçÏ£º

´ò¿ªwp-includeÖеÄclass-wp.phpÎļþ£¬ÕÒµ½ÒÔÏÂÁ½´¦´úÂë½øÐÐÐ޸ģ¬×îºÃÊÇÓÃDreamWeaverÐ޸ġ£

ÕÒµ½´úÂëµÚ142ÐУº $pathinfo = $_SERVER['PATH_INFO'];

Ìæ»»³É

$pathinfo = mb_convert_encoding($_SERVER['¹ó¸ÛÍøÕ¾½¨É蹫˾PATH_INFO'], ½­½òÍøÕ¾½¨É蹫˾ "UTF-8″, "GBK");

ÕÒµ½´úÂëµÚ142ÐУº $req_uri = $_SERVER['REQUEST_URI'];

Ìæ»»³É

$req_uri = mb_convert_encoding($_SERVER['REQUEST_URI'],"UTF-8″, ÍøÕ¾ÖÆ×÷¹«Ë¾ "GBK");

Ð޸ĺøÃÎļþºó£¬È»ºó½«±£´æºóµÄclass-wp.phpÎļþÉÏ´«µ½·þÎñÆ÷¿Õ¼ä²¢¸²¸ÇÔ­Îļþ¼´¿É¡£

±¾ÎÄÁ´½ÓµØÖ·£ºhttp://www.ruijienet.com/1655


 


 ÄϾ©ÄÁÀÇÎÄ»¯´«Ã½ÓÐÏÞ¹«Ë¾¼ò½é£º


      ÄÁÀÇ´«Ã½£¬ÄÁÕßÖ®ÐÄ£¬ÀÇÕßÖ®ÐÔ£¬ÒÔÄÁ֮ǫ±°¿íÈÝÖ®ÐÄ´ýÈË£¬ÒÔÀÇ͎֮áÎÞη֮ÐÔ×öÊ£¡


¡¡¡¡¹«Ë¾×¢²á×ʽð100Íò£¬Ö÷ÓªÖÚ³ïÈ«°¸·þÎñ¡¢ÍøÕ¾ÓªÏúÈ«°¸·þÎñ¡¢ÍøÕ¾½¨É衢΢ÐÅС³ÌÐò¿ª·¢¡¢µçÉÌÍøµêÉè¼Æ¡¢H5Ò³ÃæÉè¼Æ¡¢ÌÚѶÉç½»¹ã¸æͶ·ÅÒÔ¼°µçÉÌÓªÏúÍƹãÈ«°¸µÈÏà¹ØÒµÎñ£¬ÖÂÁ¦ÓÚΪ¿Í»§Ìṩ¸üÓмÛÖµµÄ·þÎñ,´´ÔìÈÃÓû§ÂúÒâµÄЧ¹û£¡


¡¡¡¡Îª°Ù¶È¹Ù·½¼°Æä´ó¿Í»§¡¢ËÕÄþÒ×¹º¡¢½ðɽWPSÐãÌá¢ÃÀµÄ¡¢´´Î¬¼Òµç¡¢Ð¶«·½ÔÚÏß¡¢ÒÁÀ³¿Ë˹¡¢±¦ÀöÀ³µÈ¹úÄÚ¹úÍâÖªÃûÆ·ÅÆ·þÎñ¹ý£¬·þÎñ¾­Ñé·á¸»£¡Í¬Ê±£¬¹«Ë¾Ò²ÊÇÄϾ©µç×ÓÉÌÎñЭ»á»áÔ±µ¥Î»¡¢Öí°Ë½äÍø¹Ù·½ÈÏ֤ǩԼ·þÎñÉÌ¡¢½­Ëհ˽ä·þÎñÍøÁªÃË¡¢ÄϾ©ÆÖ¿ÚÎÄ»¯²úÒµÁªºÏ»á»áÔ±µ¥Î»£¬¿ÉÒÔΪÄúÌṩ¸üºÃµÄ·þÎñ£¡


¡¡¡¡Ö÷ÓªÏîÄ¿£ºÖÚ³ïÈ«°¸·þÎñ¡¢ÍøÕ¾ÓªÏúÈ«°¸·þÎñ¡¢ÍøÕ¾½¨É衢΢ÐÅС³ÌÐò¿ª·¢¡¢µçÉÌÍøµêÉè¼Æ¡¢H5Ò³ÃæÉè¼Æ¡¢ÌÚѶÉç½»¹ã¸æͶ·Å¡¢¾º¼ÛÍйܡ¢ÍøÕ¾ÓÅ»¯¡¢µçÉÌ´úÔËÓªµÈ


¡¡¡¡ºÏ×÷¿Í»§£º°Ù¶È¡¢ËÕÄþÒ×¹º¡¢¶öÁËô¡¢ÃÀµÄ¡¢´´Î¬¼Òµç¡¢Ð¶«·½ÔÚÏß¡¢±¦ÀöÀ³¡¢½ðɽWPSÐãÌá¢ÒÁÀ³¿Ë˹


¡¡¡¡×ÊÖÊÈÙÓþ£º°Ù¶ÈÉÌÒµ·þÎñÊг¡2017Äê¶È×î¼ÑͼƬ·þÎñÉÌ¡¢ÄϾ©µç×ÓÉÌÎñЭ»á»áÔ±µ¥Î»¡¢Öí°Ë½äÍø¹Ù·½ÈÏ֤ǩԼ·þÎñÉÌ¡¢½­Ëհ˽ä·þÎñÍøÁªÃË¡¢ÄϾ©ÆÖ¿ÚÎÄ»¯²úÒµÁªºÏ»á»áÔ±µ¥Î»¡¢°Ë½äͨTOP·þÎñÉÌ¡¢"Ò×Åļ´ºÏ±­"H5´´Òâ´óÈü"ÈýµÈ½±"¡£



ÖÂÁ¦ÓÚΪ¿Í»§´´Ôì¸ü¶à¼ÛÖµ
13913005726 025-66045668
ÐèÇóÌá½»
µç»°×Éѯ
ÔÚÏß×Éѯ