i d like to get the url of an website, which an website is automatically referring to.
For example:
When i browse the link "www.example.de" it refers me automatically to "www.example.de/example123/example.php" (This one i
i like to get)
不幸的是,它不可能得到第二个链接,但使用第一个链接。
问候,Geigerkind
试一下:
$url = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
(抱歉我没有PHP来测试)