I'd recommend urlencoding those variables if you're going to do it that 
way, otherwise you may get some non-sense characters resulting in a bad URL.

J



Jim wrote:

> 
> There are many different ways to do this ...
> 
> 1. Have the same PHP script that validates generate the login page.
> This way the script always has the correct data and you don't need to
> pass anything.
> 
> 2. Header("Location: login.php?err=$err&user=$user&pass=$pass");
> This will work, but the bad password will be visible in the query string.
> 
> 3. Start a session at the login page and register the variables you
> need to use on the login page.
> 
> Jim
> 
> 


-- 
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]

Reply via email to