Page 1 of 1

Header (redirect to new page)

Posted: Mon Jul 25, 2011 5:05 am
by emertana
Hi I am using MAMP and Netbeans to develop a PHP website,
Application si supposed to look for a username if find it,
will goes to a new page
if($output == 1) //Authenticated = yes
{


header("Location:Member.php");
}
although there is no error it doesn’t go to Member.php page,
please help me out
thx

Re: Header (redirect to new page)

Posted: Mon Jul 25, 2011 10:20 am
by social_experiment
From the snippet of code it sounds like $output is not equal to 1. Is that the only code on the page?