I'm using the php header function for the redirection but it is not working.I'm using the following code.
  $sql=mysql_query("select * from password where username='$email' and password1 = '$pwd'");
  //echo "selct * from password where username='$email' and password = '$pwd'";
  $row=mysql_fetch_row($sql);
  $fieldset=mysql_num_rows($sql);
  $host=$_SERVER['HTTP_HOST']."/beta/";
  if($fieldset>0 && $conEmail !="")
   {
     $_SESSION['email']=$email;
     $_SESSION['Email']=$email;
     $_SESSION['memberID']=$id;
     $_SESSION['status']='Admin'; 
     header("location:http://".$host."member.php");
   } 
 
     
     
    