-
静态缓存读取的时候是乱码网页是UTF8编码的,开启静态缓存后,写入的静态文件是正常的没有乱码(我检查过源码的)编码设置也没问题,动态的时候不会乱码,但静态缓存后读取就会乱码,这是怎么回事?补充一下,是html_read_type=0的时候才是乱码.昨夜渡轮 时间:04-01 + 阅读全文
-
请问TP的redirect如何处理#之后的参数??RT $this->redirect('Location/topic',array('tid'=>$forumId,'page'=>$onPageNum));可是我后面还有#f12表示帖子所在的楼层,这种情况怎么处理呢??shuailv 时间:04-01 + 阅读全文
-
关于分页类Page的问题我是新手,用的2.0,想实现分页,看了手册,也查了些资料,发现我的ThinkPHP中没有ThinkPHP/lib/ORG/Util/Page.class.php连ORG包都没,请大虾指教下,初学太多东西弄不清楚steavenhe 时间:04-01 + 阅读全文
-
thinkphp怎么自动填充ip?classMessagesModelextendsAdvModel{protected$_auto=array( array('ip','get_client_ip()','1','function'), ); }我想自动填充用户ip,用array('ip',$_SERVER['REleep 时间:09-11 + 阅读全文
-
$this->redirect()去除index.php]请问有没有办法去除__URL__,$this->redirect()中的index.php请问有没有办法去除__URL__,$this->redirect()中的index.php默认下。都带有:http://www.xxx.xx/index.php/action/index我想把他改成http://www.xxx.xx/action/index相关URL设置我都配好了hahajunqw 时间:04-17 + 阅读全文
-
请问有没有办法去除__URL__,$this->redirect()中的index.php请问有没有办法去除__URL__,$this->redirect()中的index.php默认下。都带有:http://www.xxx.xx/index.php/action/index我想把他改成http://www.xxx.xx/action/index相关URL设置我都配好了winshuan 时间:11-24 + 阅读全文