Hello, naikonta:
Here is the copy of the log when I tested the band.cgi from the command line. There were no error messages. Or, should I see other error log somewhere. I leaned to use die function. But, I didn't know wherelse to see error messages.
If it's the permission problem, could I do anything on the code? Shebang line? Or else? Thank you.
[yyokot01@crux chap09]$ perl -c band.cgi
band.cgi syntax OK
[yyokot01@crux chap09]$ perl -w band.cgi
Content-type: text/html
(offline mode: enter name=value pairs on standard input; press ^D or ^
+Z when done)
Button=Put+Me+On+your+Mailing+List
Name=Jane
Emai=jc@pop.com
[yyokot01@crux chap09]$
| [reply] [d/l] |
use CGI::Carp qw(fatalsToBrowser);
| [reply] [d/l] |
>use CGI::Carp qw(fatalsToBrowser);
Thank you. I added this line and tested the code. But, nothing different happened...
| [reply] |
fromjp,
Basically, running a CGI program is quite differently from running command line program. I'm afraid you need to obtain some basic knowledge about CGI programs at general. I hope you can find some suitable tutorials for begineer on CGI. You can start with google, or CGI Programming tutorial.
Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!
| [reply] |