Advertisement
fazeela

g

Mar 18th, 2013
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. if($loginstatus=="yes")
  2. {
  3. header("Location:pipm.php");
  4. }
  5. if($loginstatus=="no")
  6. {
  7. header("Location:pmhome.php");
  8. }
  9. if($jsonde_a[exists]=="no")
  10. {
  11. header("Location:login.php");
  12. echo "no user exists";
  13. }
  14. if($jsonde_a[valid]=="no")
  15. {
  16. header("Location:login.php");
  17. echo "not a valid user";
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement