thanks for all the help guys but it didn't help...i guess superwormy might be right and the option is shut off..because it's not even outputting any value for HTTP_REFERER
any other suggestions?...
basically what i'm trying to do is check to see what page the user is coming from so that the user does not directly type in http://test.philipslighting.com/nam/events/lightfair/literature_new.php for security reasons...the user is redirected to a page called checkemail.php which lets the user enter email address; after pressing submit, checkemail.php leads to check.php which is a redirect, either to literature_new.php if the email is already in the database or to request.php if the email isn't...
the literature_new.php page is checking to see if the user is coming from request.php or check.php and if so, the page is displayed otherwise there is a redirect as i stated...
however, my if statement is working when i'm using HTTP_REFERER or as how you guys suggested...is there any other way to perform this check?
thanks a whole lot
arif