Jump to content

Newbie Needs Help


rtswimmer

Recommended Posts

Basicaly...
Ive got a login form that links to a seperate page which checks the info and redirects to either the members area or an error page.

So i want to stop access to the members area if the url is typed in, however allow it if the password is correct.
(Does that make sence?)

Ive tried to use $_SERVER['HTTP_REFERER']; but because im redirecting from a seperate page the referer is empty and doesnt work.

Anyone got any ideas ?

Cheers RTSwimmer
Link to comment
https://forums.phpfreaks.com/topic/5517-newbie-needs-help/
Share on other sites

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.