Page 1 of 1

Help With Script!

Posted: Tue Feb 02, 2010 3:58 pm
by justinkingsmusic
Can someone please direct me to a website with a login/registration php script tutorial? Thanks

Re: Help With Script!

Posted: Tue Feb 02, 2010 4:03 pm
by Grizzzzzzzzzz

Re: Help With Script!

Posted: Tue Feb 02, 2010 4:04 pm
by justinkingsmusic
Do you know a webpage that has everything? I also need a login/registration page where it directs a user to a different page. Depending on the user

Re: Help With Script!

Posted: Tue Feb 02, 2010 4:46 pm
by Grizzzzzzzzzz
i'm sure you could work out something from that, all the hard work is done for you in the first google result.

Something basic like like a redirect depending on username could be achieved by doing something like;

Code: Select all

 
if ($username == "Whatever")
{
     echo "<meta http-equiv=\"refresh\" content=\"0;url=http://whatever.com/page1.php\">";
}
else
{
     echo "<meta http-equiv=\"refresh\" content=\"0;url=http://whatever.com/page2.php\">";
}
 
on successful login.