Gruzin Posted July 20, 2006 Share Posted July 20, 2006 I'am trying to include file from other folder, but....<?php require ("../eng/include.php"); ?> Link to comment https://forums.phpfreaks.com/topic/15150-sipmle-question/ Share on other sites More sharing options...
ChaosXero Posted July 20, 2006 Share Posted July 20, 2006 But..? What seems to be the problem? Link to comment https://forums.phpfreaks.com/topic/15150-sipmle-question/#findComment-61032 Share on other sites More sharing options...
AndyB Posted July 20, 2006 Share Posted July 20, 2006 but ... what?The syntax is right, so if the file isn't being included then the relative addressing is incorrect. Link to comment https://forums.phpfreaks.com/topic/15150-sipmle-question/#findComment-61033 Share on other sites More sharing options...
Gruzin Posted July 20, 2006 Author Share Posted July 20, 2006 Warning: main(): Unable to access ../eng/include.php in /users/3d_cn/html/test/index.php on line 2Warning: main(../eng/include.php): failed to open stream: No such file or directory in /users/3d_cn/html/test/index.php on line 2Fatal error: main(): Failed opening required '../eng/include.php' (include_path='./:/apache/php/lib') in /users/3d_cn/html/test/index.php on line 2 ??? Link to comment https://forums.phpfreaks.com/topic/15150-sipmle-question/#findComment-61034 Share on other sites More sharing options...
wildteen88 Posted July 20, 2006 Share Posted July 20, 2006 If your are getting that error then either your relative addressing is wrong, or the file your are including doesnt exist. Link to comment https://forums.phpfreaks.com/topic/15150-sipmle-question/#findComment-61082 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.