make a function which validates users.
Then where ever you want to restrict access just call that function before
other things .. and it will
do the trick where ever you need .. no if statements needed.
HTH
Jaskirat
At 11:47 PM 2/16/01 -0800, Brandon Feldhahn wrote:
>how would i make somthing in a IF statement that would take somone to
>the members page when they get the login correct
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]