justravis Posted June 16, 2007 Share Posted June 16, 2007 i'm just moving to a new host...the 1 i hav could never figure out how to make phps files display properly like these: http://www.bloggingpro.com/themes/header.phps http://progphp.com/progress.phps now i'm having the same problem at the new host...they either display like php files or ask me if i want to download the file because it doesnt recognize the type...the phps file type is defined in cpanel...what am i or my webhosting company doing wrong? Quote Link to comment https://forums.phpfreaks.com/topic/55821-phps-files-not-displaying-properly/ Share on other sites More sharing options...
redarrow Posted June 16, 2007 Share Posted June 16, 2007 get the php.ini info and see what is set cheek to see if .php file is enabled as a file exstetion or add it. SORRY HAD A BRAIN STORM I THINK THE SHORTCUT <? IS NOT ENABLED PLEASE USE <?PHP ON ALL YOUR PHP OPENINGS Quote Link to comment https://forums.phpfreaks.com/topic/55821-phps-files-not-displaying-properly/#findComment-275727 Share on other sites More sharing options...
chigley Posted June 16, 2007 Share Posted June 16, 2007 Your PHP is incorrcectly configured. Alternatives: http://www.php.net/highlight_file http://www.php.net/highlight_string Quote Link to comment https://forums.phpfreaks.com/topic/55821-phps-files-not-displaying-properly/#findComment-275735 Share on other sites More sharing options...
justravis Posted June 16, 2007 Author Share Posted June 16, 2007 THANK u for replying to my post. i'll look into those alternatives. is there a seperate addtype php-source at the server level in addition to my shared webhosting account? or is there a another setting that can countradict the addtype php-source setting? Quote Link to comment https://forums.phpfreaks.com/topic/55821-phps-files-not-displaying-properly/#findComment-275951 Share on other sites More sharing options...
justravis Posted June 19, 2007 Author Share Posted June 19, 2007 ok...according to the support team, THEY can view the code in their web browser, but i can't...it just looks like a html page any ideas? Quote Link to comment https://forums.phpfreaks.com/topic/55821-phps-files-not-displaying-properly/#findComment-277427 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.