note 7891 modified in URL Functions by ronabop
| From: | ronabop@php.net | Date: | Sun, 20 Aug 2000 11:14:05 +0000 |
| Subject: | note 7891 modified in URL Functions by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-2740@lists.php.net to get a copy of this message | ||
To get the full url of what should be currently
in a users browser, try this:
$url = sprintf("%s%s%s","http://",$HTTP_HOST,$REQUEST_URI);
echo "$url";
http://www.php.net/manual/url-functions.php