Bascially I took an existing .pl file that is used to process form info for downloads on one product, changed the email address it sent the info to (different sales guys for different products) and saved it as a different name. Then using dreamweaver I dragged it into the cgi bin, directed my form to it - and hey presto - it doesn't work - I get an error message.
It says 'permission denied' and then suggests that I uploaded it using binary instead of ascii. I don't know what this means, or how to change it in dreamweaver to make this script work. I changed nothing but the email address and the filename, and it won't work! any help will be v v v appreciated!
Anyway be specific when you say "got an error." If you got an error when trying to put the file in the cgi-bin - this means you don't have permissions as whatever you're user logged in as to move the file. If you got an error trying to run it - it means the file doesn't have permissions to execute. Since you didn't mention what platform you're on (details!) I'm going under the assumption it's linux - you're going to have to set the mode to executable, chmod 755.
Don't take this wrong but you're going to have to crawl out from behind your wysiwyg interface and get your hands dirty. :-) Learn about ownership and file permissions on your server platform, and how to get files to and from your server via a normal FTP program, not Dreamweaver. Once you have that under your belt, first thing to do is get to a command prompt ON THE SERVER (through SSH or VNC) and type
perl myscript.pl [press enter]
This will give you the actual error from the script, if any.
Best of luck!