Hello,
I have a webpage that has a feedback form. When I press "Send Feedback" a script is supposed to run to send the comments to an email address. But whenever I press "Send Feedback" the browser displays the PHP code but does not run it. Does anyone know why this happens?
You can see it here:
http://www.sfu.ca/~jasonw/feedback.html
The PHP code was taken from thesitewizard.com
I would appreciate any help. Thank you.
Browser not running PHP script, displaying it instead
Moderator: General Moderators
Re: Browser not running PHP script, displaying it instead
Do you have PHP installed?
Also, if you look in your httpd.conf file (apache), do you see the line:
AddType application/x-httpd-php (should be various extensions, including .php)
Oh, and do you have any htaccess files in your directory?
Also, if you look in your httpd.conf file (apache), do you see the line:
AddType application/x-httpd-php (should be various extensions, including .php)
Oh, and do you have any htaccess files in your directory?