PDA

View Full Version : install a perl script


comicw
10-24-2002, 08:41 AM
How do I implement a perl script on my site?

ACJavascript
10-24-2002, 04:30 PM
depends,, Do you have ftp access to your site..?
or do you upload like geocites or yahoo?

comicw
10-24-2002, 08:34 PM
I have ftp access

cunning-fox
10-25-2002, 12:00 AM
You might want to refer to the help file of the script. If its just one ".pl" script, you upload it to your server in a file folder on your root directory named "cgi-bin" (you can always make one).

The best ftp program is "FTP Voyager" (I think). You can download as shareware, just search for it under yahoo.com. The best part is that the software is still operable after the 30 days.

Anyway, open the script in "notepad" and edit the top line of the script to fit the path to perl on your server (refer to your host's help files for their path), should look something like "usr/bin/perl"

Then once done save it on your server, and set permissions to "755" which sets the script in executable mode.

Keep in mind that if you are using a free host's cgi-bin, there might be some restrictions for certain coding, resulting in a blatant error.

cunning-fox:D

gorilla1
10-27-2002, 09:19 PM
I have been using dremaweaver 4 to do my ftp (and that is all i use it for). When I uploaded a perl scrip, I got linefeed errors when I tried to execute. I set dreamweaver file format to Unix, but still no luck. So finally, I downloaded another ftp program and I was able to upload the file in ascii format and it executed. But I wonder, is there a way to get it to work in Dreamweaver?

G