note 7891 deleted from ref.url by nlopess
| From: | nlopess@php.net | Date: | Sun, 23 Oct 2005 10:20:14 +0000 |
| Subject: | note 7891 deleted from ref.url by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-97452@lists.php.net to get a copy of this message | ||
Note Submitter: jphilbin at portcitymail dot com
----
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";