rasheedn Posted April 26, 2006 Share Posted April 26, 2006 hey i just uploaded my validation file and when i tested on my pc it works fineon the host it doesn't!any idea y?here's the validation code:<?php session_start();?><?phpextract($_POST);$_SESSION['user_name'] = "no";if ($user_name=="admin"){ if ($password=="password"){ $_SESSION['user_name'] = "yes"; header("Location: atool.php"); } else{ echo "Wrong password or Username"; $_SESSION['user_name'] = "no"; }}else {echo "Wrong password or Username";$_SESSION['user_name'] = "no";}?> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.