in reply to Re: cgi error output
in thread cgi error output
i tried that before bt never worked for me
here is the simple
$usr = $cgi->param('textfield);
$pwd = $cgi->param('textfield2);
if (! $usr) { # print error }
print <<HTML;
<html> <head> <body> <p><strong>Username <input type="text" name="textfield" /> </strong></p> <p> Password <input type="text" name="textfield2" /> </p> <p> <input type="submit" name="Submit" value="Submit" /> # LET THE ERROR BE SHOWN HERE </p> </body> </html> HTML;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: cgi error output
by hippo (Archbishop) on Apr 15, 2015 at 14:17 UTC | |
by bigup401 (Pilgrim) on Apr 15, 2015 at 17:39 UTC | |
|
Re^3: cgi error output
by Corion (Patriarch) on Apr 15, 2015 at 13:58 UTC |