PERSONAL cgi-bin:
put files here:
[/home/$user/$domain-www/cgi-bin/]
access in page with this URL:
http://$domain.com/cgi-bin/somefile.cgi [or somefile.pl]
---------------------------------------------------------
GLOBAL cgi-bin:
access in page with this URL:
http://$domain.com/cgi-sys/somefile.pl
Files are located here:
[/home/httpd/cgi-bin/]
(The global cgi-bin files are mainly counters and formmail/pgpmail)
See also Server Side Includes
To call cgi-bins securely, see 256
Formmail Features:
To use Formmail, you need to create a form on one of your web pages.
The form action line should be
<FORM ACTION = "/cgi-sys/formmail.pl" METHOD = "POST">
formmail.pl will do all the programming work for you. You alter the behavior of
formmail by using hidden fields in your form.
There is only one form field that you must have in your
form for FormMail to work correctly. This is the recipient field.
Field: recipient
Description: This form field allows you to specify to whom you wish for your
form results to be mailed. Most likely you will want to configure this option as
a hidden form field with a value equal to that of your e-mail address.
When using a CGI script to pull information from a form which has been
submitted by a browser you must have the first line of the script have this
command on it (Much like perl scripts):
#!/usr/local/bin/php |