Openning a file on submit

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Ward7Studios
Forum Newbie
Posts: 2
Joined: Mon Jul 21, 2008 11:17 am

Openning a file on submit

Post by Ward7Studios »

I have a contact form that calls a PHP script upon submit, but instead of executing the script, it tries to download it. Any idea what could be causing this? Help greatly appreciated.
User avatar
JAB Creations
DevNet Resident
Posts: 2341
Joined: Thu Jan 13, 2005 6:44 pm
Location: Sarasota Florida
Contact:

Re: Openning a file on submit

Post by JAB Creations »

Code? Link? Something? Anything...?
Ward7Studios
Forum Newbie
Posts: 2
Joined: Mon Jul 21, 2008 11:17 am

Re: Openning a file on submit

Post by Ward7Studios »

User avatar
JAB Creations
DevNet Resident
Posts: 2341
Joined: Thu Jan 13, 2005 6:44 pm
Location: Sarasota Florida
Contact:

Re: Openning a file on submit

Post by JAB Creations »

Looks like Fedora with Apache...I'd make a copy of your server's .htaccess file, then delete it from the server's public root, and try the form again. It often is the cause of such problems.
Post Reply