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"); ?> Quote 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? Quote 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. Quote 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 ??? Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/15150-sipmle-question/#findComment-61082 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.