Re: User authentication and redirect

From: Date: Wed, 13 Jul 2005 20:29:04 +0000
Subject: Re: User authentication and redirect
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-39945@lists.php.net to get a copy of this message
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

« previous php.db (#39945) next »