desithugg Posted August 13, 2006 Share Posted August 13, 2006 [code]for some reason when i try to include something in my base dierectory by usingcode]<? include("/file.php"); ?>[Warning: main(/file.php): failed to open stream: No such file or directory in /usr/home/osiris/domains/x3teamz.net/public_html/aai/members/forums.php on line 3[/code]a friend told me to use but im still having some problems[code]<? include_BASEDIR_ .("file.php"); ?>[/code]can an1 help im not sure what to do Quote Link to comment Share on other sites More sharing options...
desithugg Posted August 13, 2006 Author Share Posted August 13, 2006 and yes im sure the file exsists Quote Link to comment Share on other sites More sharing options...
whare Posted August 13, 2006 Share Posted August 13, 2006 try[code]<? include ('file.php'); ?>[/code]Note that i did not use the begining / [slash][edit]and just make use the path is rightlike <? include ('folder/flie.php'); ?> Quote Link to comment Share on other sites More sharing options...
desithugg Posted August 13, 2006 Author Share Posted August 13, 2006 umm didnt work but when i did <? include ('.../flie.php'); ?>it worked i say this once in a code example Quote Link to comment Share on other sites More sharing options...
whare Posted August 13, 2006 Share Posted August 13, 2006 can you post all the code and its relative location to the file that is calling itThanx Quote Link to comment 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.