Frequently Asked Questions (FAQ)
CGI
What is CGI?
CGI stands for "Common Gateway Interface". It can be used for
passing information between the webserver and web user. You can read more
about CGI programming here:
- Perl.com
- Perl Monks
- Beginning Perl
Tutorials
- Matt's Scripting Archive
Will you fix my CGI script/javascript script/PHP script/ etc...
?
Our supoort does not provide debugging support.
What version of Perl are you running?
Perl 5
What is the pathway to....
- cgi-bin relative path = /cgi-bin/yourscript.cgi
- cgi url = http://www.yourdomain.com/cgi-bin/yourscript.cgi
- path to Perl = /usr/bin/perl
- path to Python = /usr/bin/python
- path to sendmail = /usr/sbin/sendmail
Some tips:
- Make sure the script begins with #!/usr/bin/perl
- When you upload your script be sure to set tranfer mode to 'ASCII',
not binary.
- If using a text editor set the line breaks to Unix style
- Don't forget to set the correct file permissions.
Is there another way to parse forms or pass information from
the user to the webserver?
PHP is a popular alternative
with a large support community.
|