2014年7月17日

摘要: strstr(string,string) = strchr(,) //从前面第一次出现某个字符串的地方截取到最后 strrchr(string,string) //从某个字符串从最后出现的位置截取到结尾 strpos(string,string[,int]) //某个字符串第一次出现的位置 str 阅读全文

posted @ 2014-07-17 15:31 逍_遥 阅读(131) 评论(0) 推荐(0)

摘要: top.location.href 顶级窗口的地址 this.location.href 当前窗口的地址 #测试网址: http://localhost/blog/testurl.php?id=5 //获取域名或主机地址 echo $_SERVER['HTTP_HOST']." "; #localh 阅读全文

posted @ 2014-07-17 15:11 逍_遥 阅读(151) 评论(0) 推荐(0)


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3