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'];
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, January 11, 2006 11:33 am, Brian Dunning wrote:
> How do I capture the current displayed URL when it has been changed
> by mod_rewrite?
>
> Example:
> original (ugly) URL is http://domain.com?id=12345
> displayed (friendly) URL is http://domain.com/California
>
> When I use 'http://'.$_SERV
2 matches
Mail list logo