Re: Login page

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

 



Even Simpler:

header('Location: http://www.example.com/'.$type.'-page.php');

That way... if you ADD user types... you merely add a page file for the user type.
e.g.

if user type is 'admin' you'd have to create or insure that an 'admin-page.php' file exists at 
the location you are redirecting to.




[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux