摘要: trim(string,char):去除首尾空白字符或者其他字符 阅读全文
posted @ 2013-07-10 01:29 ljw7pm 阅读(142) 评论(0) 推荐(0)
摘要: str_ireplace(find,replace,string):对大小写不敏感str_replace:对大小写敏感 阅读全文
posted @ 2013-07-10 01:26 ljw7pm 阅读(181) 评论(0) 推荐(0)
摘要: $_SERVER[PHP_SELF], $_SERVER[SCRIPT_NAME], $_SERVER['REQUEST_URI'] 在用法上是非常相似的,他们返回的都是与当前正在使用的页面地址有关的信息,这里列出一些相关的例子,帮助确定哪些是在你的脚本最适合的。$_SERVER[’PHP_SELF’]http://www.yoursite.com/example/ — – —/example/index.phphttp://www.yoursite.com/example/index.php — – —/example/index.phphttp://www.yoursite 阅读全文
posted @ 2013-07-10 01:08 ljw7pm 阅读(154) 评论(0) 推荐(0)