View Single Post
  #2 (permalink)  
Old 08-02-05, 03:01 AM
FiRe FiRe is offline
Code Guru
 
Join Date: Oct 2004
Location: UK
Posts: 801
Thanks: 0
Thanked 0 Times in 0 Posts
Code:
#!/usr/bin/perl
use CGI;
print "Content-type: text/html\n\n";

$cgi = new CGI;
$user = $cgi->param('username');

#code to get original username
$original_user = "whatever";

if ($user eq $original_user) {
print "Good!";
}
else {
print "Bad!";
}
__________________
Alexa Share <-- Trade virtual shares in websites with this online game.

codR.us <-- Submit and vote for your favorite code snippets with codR.us.

XEWeb.net <-- The ultimate PHP resource network.
Reply With Quote