![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PHP
绿洲Oo
这个作者很懒,什么都没留下…
展开
-
PHP中获取当前页面的完整URL
javascript实现: top.location.href 顶级窗口的地址this.location.href 当前窗口的地址 PHP实现 #测试网址: http://localhost/blog/testurl.php?id=5//获取域名或主机地址 echo $_SERVER['HTTP_HOST'].""; #localhost//获取网页地址 ech转载 2013-03-20 09:25:06 · 435 阅读 · 0 评论 -
php curl post请求,java后台用request文件流方式接收
php curl请求: [php] view plain copy $userid = 'test'; $key = 'testkey'; $sign = md5($userid.$key); $data转载 2017-10-18 17:26:33 · 2187 阅读 · 0 评论