Capturing the current URL when mod_rewrite is used

From: Date: Wed, 11 Jan 2006 17:33:20 +0000
Subject: Capturing the current URL when mod_rewrite is used
Groups: php.general 
Request: Send a blank email to php-general+get-228480@lists.php.net to get a copy of this message
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.

« previous php.general (#228480) next »