Re: [PHP] How can i make it so....

2001-08-01 Thread Sheridan Saint-Michel
PROTECTED]> Cc: PHP List <[EMAIL PROTECTED]> Sent: Wednesday, August 01, 2001 5:07 AM Subject: Re: [PHP] How can i make it so > Steve, > > If you move your validation code to the top of the script you can use the > > header ("Location: loggedin.php"); > e

Re: [PHP] How can i make it so....

2001-08-01 Thread Sheridan Saint-Michel
The odd thing about PHP is sometimes you have to code backwards, That is your code is in a different order than the pages it produces. This is one of those times. You need to have the Successful login page first, and the login form second in an if statement. ie... You are Signed In!'; $a

Re: [PHP] How can i make it so.

2001-08-01 Thread Chris Fry
Steve, The following should work:- " METHOD="POST"> UserName: Password: Regards Chris -- Chris Fry Quillsoft Pty Ltd Specialists in Secure Internet Services and E-Commerce Solutions 10 Gray Street Kogarah NSW 2217 Australia Phone: +61 2 9553 1691 Fax: +6

Re: [PHP] How can i make it so....

2001-08-01 Thread Chris Fry
Steve, If you move your validation code to the top of the script you can use the header ("Location: loggedin.php"); exit; to go to the next page if the user is validated Chris Steve Wright wrote: > Hi, > > I have modified an authentication script to my own liking, but being new, don't know