wardw
10-05-2009, 03:22 PM
I have a formmail.php script in my own cgi-bin directory, for sending me an email containing my form data. When I submit my form, whose "action" points to the php script (action="../cgi-bin/formmail.php"), a browser alert appears saying "You have chosen to open formmail.php....What should Firefox do with this file?" The email is not sent to me.
I'm using version 8.16 of the script. Permissions on the cgi-bin directory and the formmail.php file are both 755. I have a .htaccess file in the directory that says "AddHandler x-httpd-php5 .php". I suspect the server is not carrying out the script instructions. Should I put the php script and the .htaccess file in some other cgi-bin directory?
I'm using version 8.16 of the script. Permissions on the cgi-bin directory and the formmail.php file are both 755. I have a .htaccess file in the directory that says "AddHandler x-httpd-php5 .php". I suspect the server is not carrying out the script instructions. Should I put the php script and the .htaccess file in some other cgi-bin directory?