Capturing the current URL when mod_rewrite is used

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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://'.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'] that only gives me the original URL. How do I get the current URL?

Thanks.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux