I can't seem to get this whole forms thing down. Here are the steps I took to make the form at ladesignz.com/contact work 1. Download Script from form2email.net 2. Edit Parameters in first section to read my $script_name = 'form2email.pl'; my $HTML_thankyou = 'http://www.ladesignz.com/thanks.htm'; my $to = 'ladesignz@gmail.com'; my $from = 'ladesignz@gmail.com'; my $mailprog = '/usr/sbin/sendmail'; my $subject = 'Web Enquiry from www.ladesignz.com'; 3 Loaded that text file to my cgi-bin 4. Set up form in dreamweaver with the following code <form method="POST" action="/www/cgi-bin/form2email.pl"> It will not work- Anyone who knows what I am doing wrong I would really appericate it Thanks
i think step 4 normally is something more lik home/username/public_html/cgi-bin/script.pl also make sure you upload it in BINARY mode, ascii mode can screw up cgi scripts.
You are using a file system path for your action script. As the action is executed from a browser you to use an internet path. try removing the "/www/" from the path. This assumes your php file is in your websites root folder "www".
In this case the CGI script is a Perl script. And since Perl scripts are text files they should be uploaded as text/ASCII, *not* binary.