Re: How to redirect after a valid login

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux