Re: Capturing the current URL when mod_rewrite is used
| From: | Brian Dunning | Date: | Wed, 11 Jan 2006 17:47:13 +0000 |
| Subject: | Re: Capturing the current URL when mod_rewrite is used | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-228483@lists.php.net to get a copy of this message | ||
I think I answered my own question. The following works even when mod_rewrite has changed the URL:
'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];