okay, this is what i want to do. i have a login.php that asks the user to login. and then if the login was successful the user will "redirected" to my main.php. and also if the user is already logged and went to my index.php, he will be redirected immediately to main.php
i tried to do header("Location: main.php"); but it said that i "cannot add header information". pls. help. -- PHP Windows 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]