Thread: Forms
View Single Post
  #13 (permalink)  
Old 03-20-2004, 03:25 PM
Pilfo Pilfo is offline
WebProWorld Member
 
Join Date: Jul 2003
Location: Liverpool, England, United Kingdom
Posts: 55
Pilfo RepRank 0
Default Forms

This is part of what my hosting company sent me, but now I am even more confused by this, along with all of your comments.

1. The first line of Perl (we have version 5.0005) in your code needs to
be: #!/usr/bin/perl --

2. Usually cgi/perl scripts can be placed anywhere under /web. On older
hosting packages, you may need to place your cgi-bin after
/web/yourftpusername/. For ease of admin, you can create a folder called
cgi-bin.

3. The path to sendmail is: /usr/sbin/sendmail -i -t

4. If you are calling the absolute path to a file in your coding, you
need to
know that the absolute path to the root of your webspace is:

/home/sites/www.yourdomain/

If incorporating this into your coding, remember that you do include
include
the /web/. Therefore /home/sites/www.yourdomain/web/ftpusername/cgi-bin

5. All .cgi / .pl files need to have file permissions set to 755 or 775.

6. If calling a file through the internet, remember you need to omit the
/web/ directory from the reference. e.g. to reference a cgi file through
the internet, if your cgi-bin is located at /web/ftpusername/cgi-bin,
you would browse:

http://www.domainname.com/ftpusername/cgi-bin/file.cgi

What on Earth am I supposed to do with the above? I am using Dreamweaver.

Kind regards
Pilfo
__________________
RSD Hygienics Limited
Manufacturers & Suppliers of the 'Bidet-Loo', an add-on bidet system.

http://www.bidet-loo.co.uk
...the flowing answer to personal hygiene
Reply With Quote