Forms using variables pop us with save as

I recently installed apache and php and it runs perfectly BUT when I create a form and want to send variables when I click submit instead of processing the application I get a save as…promt, why is this and how do I get my server to run this function?

Thank you for your time.