[nycphp-talk] Is $_Cookie['original_url'] == $_Server['request_uri'] ?
csnyder
chsnyder at gmail.com
Thu Nov 29 19:58:51 EST 2007
On Nov 29, 2007 2:43 PM, Cliff Hirsch <cliff at pinestream.com> wrote:
>
> Is $_Cookie['original_url'] == $_Server['request_uri'], less the
> http://domain.com stuff?
>
> Is one more reliable for getting the URI of a request?
I'm pretty sure PHP doesn't auto-populate values in the $_COOKIE
superglobal... something else (php, other application at your domain,
or javascript) set the 'original_url' value in the cookie.
--
Chris Snyder
http://chxo.com/
More information about the talk
mailing list