in reply to Simple Email Check

Define "not working". Do you get an error? Does your server catch fire? Do you get the wrong person's email? Does the password fail?

Without knowing what "not working" means, we can't help.

Also, remember Question #1 of non-working CGI scripts:

Does it work when you run it from the command line?

xoxo,
Andy

%_=split/;/,".;;n;u;e;ot;t;her;c; ".   #   Andy Lester
'Perl ;@; a;a;j;m;er;y;t;p;n;d;s;o;'.  #   http://petdance.com
"hack";print map delete$_{$_},split//,q<   andy@petdance.com   >

Replies are listed 'Best First'.
Re: Re: Simple Email Check
by Kiko (Scribe) on Jun 07, 2001 at 01:51 UTC
    Hi, I guess i was a little vague. When i run the script i get a blank page. And it does work when i run it from the command line. Here is the login script:
    #!/perl/bin/perl use CGI qw(:standard); print header(); print <<HTML; <HTML> <HEAD> <TITLE> Check email </TITLE> </HEAD> <BODY> <form name"email" method="post" action="check_email.pl"> <table align="center" cellspacing="0" cellpadding="1" border="1" width +="275" height="150"> <tr><td bgcolor="#999999"> <table width="265" border="0" cellpadding="2" cellspacing="0" height +="145"> <tr> <td bgcolor="#ccff99"><font face="arial,helvetica,sans-serif" size +="2">Hostname:</font></td> <td><input type="text" name="hostname" width="20"></td> </tr> <tr> <td bgcolor="#ccff99"><font face="arial,helvetica,sans-serif" size +="2">Account:</font></td> <td><input type="text" name="account" width="20"></td> </tr> <tr> <td bgcolor="#ccff99"><font face="arial,helvetica,sans-serif" size +="2">Password:</font></td> <td><input type="password" name="password" width="20"></td> </tr> <tr> <td>&nbsp;</td> <td><input type="submit" value="Check">&nbsp;&nbsp;<input type="re +set" value="Reset"></td> </tr> </table> </td></tr> </table> </form> </BODY> </HTML> HTML
    Thanks for your help, Kiko