laziness, impatience, and hubris | |
PerlMonks |
Start Simple Before - Trying to output mysql query to browserby metadoktor (Hermit) |
on Jan 31, 2002 at 22:41 UTC ( [id://142537]=note: print w/replies, xml ) | Need Help?? |
First of all, have you done any CGI programming before? If not, then start out with a very very simple example or learn to use CGI if you don't feel comfortable with the not so esoteric art of CGI programming.
IMPORTANT! Before you run that CGI script of yours on the web first try to run it from your command line prompt like so: If you get NO ERRORS and you get the output that you're expecting then you can try invoking your CGI script from a browser. You should start out using something simple like this:
And gradually add a SQL query or whatever and you'll obviously want to make sure that you output correct HTML which would include the DOCTYPE header. Also, don't forget about SECURITY. Be careful in what you accept from the browser, if anything. metadoktor "The doktor is in."
In Section
Seekers of Perl Wisdom
|
|