Jump to content


Newbie Needs Help

  • Please log in to reply
1 reply to this topic

#1 rtswimmer

  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 22 March 2006 - 05:59 PM

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

#2 earl_dc10

  • Members
  • PipPipPip
  • Advanced Member
  • 71 posts

Posted 23 March 2006 - 12:35 AM

you could set a cookie or session at the verification page and then request it at the 3rd page
got a problem? Google helps many of those in need

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users