slarabee Posted February 1, 2007 Share Posted February 1, 2007 Hello, As I have looked around I have seen people advising against using .inc files but I have no coice at this point because I am trying to fix an existing site. A client of mine had a server crash and I have resinstall PHP on the server and MySQL and phpinfo.info show PHP running properly. The problem I am having is that the body of every page on the site draws from a .inc file and the body is not showing up. The site is running on IIS 5 PHP 5.2 and MySQL (whatever version is current). Thank for any help in advance. Sean Link to comment https://forums.phpfreaks.com/topic/36644-inc-files-help/ Share on other sites More sharing options...
wildteen88 Posted February 1, 2007 Share Posted February 1, 2007 Is the .inc file being included into a .php file? If it is then the PHP code in the .inc file should run. Also make sure you are using the full PHP code tags (<?php ?>) and not the short hand tags (<? ?> or <?= ?>). Link to comment https://forums.phpfreaks.com/topic/36644-inc-files-help/#findComment-174771 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.