php files download, not opening to view in browser

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
ripriprip
Posts: 4
Joined: Tue Sep 12, 2017 5:09 pm

php files download, not opening to view in browser

Post by ripriprip »

Script URL: http://www.cotyrone.com/guestbook/index.php or http://cotyrone.com/guestbook/gbook.php
Version of script: 182
Hosting company: http://digitalorphans.org
URL of phpinfo.php: ?
URL of session_test.php: ?
What terms did you try when SEARCHING for a solution: php files download not open in browser

Write your message below:
I edited the settings.php file with notepad and encoded it ut8. uploaded all files with filezilla, chmod the renamed entries file 666. however I go to any php file in the guestbook folder, they only download to open (then show only code), do not show as a file in a browser window. I tried in both firefox and chrome, and cleared cache to try again, not successful. Any help would be appreciated. I've installed other php scripts on domains, and not experienced this. I must be doing something incorrectly, can you assist please.
Thank you
Tammy
ripriprip
Posts: 4
Joined: Tue Sep 12, 2017 5:09 pm

Re: php files download, not opening to view in browser

Post by ripriprip »

Hi,
Went away and cooked breakfast, then realized I hadn't turned on php support for this domain. Turned it on... works like a charm. Hope this helps others.
Tammy
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: php files download, not opening to view in browser

Post by Klemen »

Yes, lack of PHP support is usually the case, when you see source code instead of the HTML output :D
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply