Maybe you could use sessions like: session_start(); session_register('verified'); $verified=0
"Erich Kolb" <[EMAIL PROTECTED]> skrev i meddelandet [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have developed a simple login script. Right now it will check a submitted > username and password and verify it against a database. This part works > fairly well, however I want to know how to assign a variable that will pass > through to the next page(s) to do something like: > > if verified == 1 then {display the page} else {display error message} > > My apoligies on the syntax of the above, but hopefully you will get the > idea. > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php