Re: How to redirect after a valid login
| From: | Benjamin | Date: | Sun, 14 Mar 2004 02:14:07 +0000 |
| Subject: | Re: How to redirect after a valid login | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-33442@lists.php.net to get a copy of this message | ||
What kind of error does it give you? Because in the snippet you gave us you wrote
include "mainmenu.php"; // Which gives me an error !And that should give you an error because it should be include( "mainmenu.php" ); //note parenthesies I have done what you want to do before like so if( $logged_in ) include( "logged_in_script.php" ); else include( "logged_in_failed.php" ); So what error do you get? Goodluck, Benjamin