1st line (path to perl) should be:
#!/usr/bin/perl
path to sendmail should be:
$mailprog = "/usr/sbin/sendmail";
(At least the above is true for my account.. I assume yours would be the same. It would only be different if our accounts resided on different servers. This info can be found in your cpanel).
Make sure $recipient = your email address
make sure the file is chmodded to 755 in the cgi bin.
Sorry, I cannot open the fla file here. I don't have flash installed on my system. Would you be able to give me a mock-up html form i could i could see?
One thing that you could look for is ACTION of the form contains the url of this file, and the method = POST.. like this:
<form ACTION="http://yoursite.trap17.com/cgi-bin/mailprog.cgi" method="POST">
(mailprog.cgi of course should be replaced by the name of this file).
If that doesn't work try method="GET"
Reply