Skip to content Skip to sidebar Skip to footer

PHP Showing Up As Plain Text

I have a simple form and php file. When I click submit it just pulls up a plain text file with the contents of resources.php. Why would this be happening? index.html &

Solution 1:

Here are possible answers to your problem:

  1. WEB server is not processing your PHP code correctly because php is not installed or misconfigured.
  2. You're not using the web server at all. Make sure to load your pages from localhost (or whatever your server is) and not from the file itself ex: localhost/path/to/index.html and not c://program files...

Post a Comment for "PHP Showing Up As Plain Text"