Jump to content

Archived

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

rtswimmer

Newbie Needs Help

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

Share this post


Link to post
Share on other sites
you could set a cookie or session at the verification page and then request it at the 3rd page

Share this post


Link to post
Share on other sites

×

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.