Jump to content

[SOLVED] referring URI without HTTP_REFERER


wrathican

Recommended Posts

hey

 

i was just wondering if there is an alternative way of seeing what the referring URI was in php other than HTTP_REFERER.

 

this is mainly because my host does not have that variable enabled. (i think. its not listed when i call phpinfo())

 

but i would like to provide a bit of simplicity for my users so that if they are trying to access a page where they need to be logged in, they are taken to the login page and the referring URI is kept so i can forward them back to that page when they have successfully logged in.

 

Thanks

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.