Re: User authentication and redirect

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

 



if (authorized($user)) {
	header("Location: http://mydomain.com/$user/index.php";);
}




On Wednesday 13 July 2005 1:13 pm, Vinny Lape wrote:
> I am trying to make a login script that will check a mysql db for usernme,
> password and location.
> If user validates then look at db entry location then redirect to
> mydomain.com/"location"/index.php
>
> Anyone have an idea about this?
>
> Thanks
> Vinny

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