Re: [PHP] Allowing specific IP's to bypass security.

2003-10-21 Thread Marek Kilimajer
$_SESSION['details_captured'] = "yes"; single =, and there is no need to "reset" the session variable. [EMAIL PROTECTED] wrote: Hi all... I have a form that captures data, before then showing a few download links... However, If the user is in our office, I want to bypass the form... so at the ve

Re: [PHP] Allowing specific IP's to bypass security.

2003-10-21 Thread Jon Haworth
Hi Tris, > reset the session variable: > $_SESSION['details_captured'] == FALSE; > > Re-asign it to yes: > $_SESSION['details_captured'] == "yes"; You're using ==, which is the comparison operator - give it a go with just a single = instead. Cheers Jon -- PHP General Mailing List (http://www.p

[PHP] Allowing specific IP's to bypass security.

2003-10-21 Thread Tristan . Pretty
Hi all... I have a form that captures data, before then showing a few download links... However, If the user is in our office, I want to bypass the form... so at the very top of my page, I've put this... (details_captured is my variable I use on the form as a hidden field, to confirm that the for