Jump to content

PHP Not Working - Displaying Code


misterfine

Recommended Posts

Having some problems. Take a look.

www.burghardforcongress.org/index-3.php

This exact same file works fine on www.mike-fine.com/dbfc/index-3.php.

My initial thought is that the first server doesn't support PHP, but I'm running another script on it at www.burghardforcongress.org/index-6.html.

Any ideas why this is happening, and what I can do to fix it?

Thanks.
Link to comment
https://forums.phpfreaks.com/topic/4976-php-not-working-displaying-code/
Share on other sites

welcome to the forums! hope you get lots of help here

my vote is still that your host doesn't have PHP installed, or your account doesn't support it. the second file you sent us to is an HTML file, not PHP, and unless you have your server set up to parse .html extensions as PHP, there is no way there is PHP code within that page being parsed. i would definitely recommend contacting your hosting provider and asking them to install the latest version of PHP, or at least ask them why you're not able to run scripts.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.