Hi there,
I need help finding the complete url (incl the /index.whatever) of a remote host.
What I need is a function or way to return the absolute url (http://host/index.php) of a url like (http://host)... of a remote host...
Something like:
$url = "http://www.yahoo.com";
$complete_url = get_complete_url($url);
$complete_url should then be "http://www.yahoo.com/index.html"
I checked it out $_SERVER['REQUEST_URI'] but that returns the absolute path the current page.
What I need is to get the full path, incl the "/index.html" of outside URLs (many of them), not of the current page on my own server.