Discuz!官方免费开源建站系统

 找回密码
 立即注册
搜索

linux下url大小写不一样出错

[复制链接]
lcbgd2008 发表于 2009-10-7 17:08:04 | 显示全部楼层 |阅读模式
在ucenter下admin.php 有
define('UC_API', strtolower(($_SERVER['HTTPS'] == 'on' ? 'https' : 'http').'://'.$_SERVER['HTTP_HOST'].substr($_SERVER['PHP_SELF'], 0, strrpos($_SERVER['PHP_SELF'], '/'))));
strtolowper把url都转成大小写。linux对大小不同url是访问不同的页面的。在windows下就没问题。
大家有没有这样的疑问呢?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-10-14 01:15 , Processed in 0.119352 second(s), 14 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表