Jump to content


Photo

password not being accepted after uploading to host!


  • Please log in to reply
No replies to this topic

#1 rasheedn

rasheedn
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 26 April 2006 - 02:45 PM

hey i just uploaded my validation file and when i tested on my pc it works fine

on the host it doesn't!

any idea y?

here's the validation code:


<?php session_start();?>
<?php
extract($_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";
}
?>




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users