note 7891 added to URL Functions
| From: | jphilbin at portcitymail dot com | Date: | Fri, 18 Aug 2000 16:56:20 +0000 |
| Subject: | note 7891 added to URL Functions | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-2468@lists.php.net to get a copy of this message | ||
antidumb@mail.com
try this:
$url = sprintf("%s%s%s","http://",$HTTP_HOST,$REQUEST_URI);
echo "$url";
http://www.php.net/manual/ref.url.php