pustinia Posted February 4, 2011 Share Posted February 4, 2011 Hi coders Myy host upgraded it’s server from PHP 5.2.0 to PHP 5.2.6. and I use <?php include("inc/menu.php");?> to include php files in website. It works well in my local server but when I upload it to the live server it does not work at all, help. Link to comment https://forums.phpfreaks.com/topic/226657-file-inlude/ Share on other sites More sharing options...
ChemicalBliss Posted February 4, 2011 Share Posted February 4, 2011 There is nothing wrong with that code it wil work on any version of PHP; <?php include("inc/menu.php");?> Are you sure the folder/file exists? What errors are you getting? If an update to your host caused this i would contact them in case they know of any on-going problems with the upgrade. hope this helps Link to comment https://forums.phpfreaks.com/topic/226657-file-inlude/#findComment-1169812 Share on other sites More sharing options...
pustinia Posted February 7, 2011 Author Share Posted February 7, 2011 Thanks ChemicalBliss... I have tested it in another live server and it works well but so that means the server where i will be hosting the site has issues...i will contact them to Link to comment https://forums.phpfreaks.com/topic/226657-file-inlude/#findComment-1170913 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.