Thread: login script
View Single Post
Old 01-15-2003, 07:03 PM   #2 (permalink)
anon
Guest
 
Posts: n/a
Well just something like:

Code:
$name=$_GET['name'];
$pass=$_GET['pass'];

if ($name=="trevor" && $pass=="f00") {
  print "Security confirmed";
}
else {
  print "evil cracker! NEVER! HAHAHAHA";
}
Or are you working with MySQL/other DB?
  Reply With Quote