hammadtariq Posted January 9, 2007 Share Posted January 9, 2007 hello, I have a problem, hope you people can help me out.SupposeI have a file herehome>include>anotherfolder>file.phpnow in file.php I want to include a file which is here:home>includeand in file.php I want to set the header location to:home>somefile.phpHow can I do that?the problem is how can I refer the files which are stored in above directories.I am using IIS in home and Apache on server. Link to comment https://forums.phpfreaks.com/topic/33485-problem-with-directory-structure/ Share on other sites More sharing options...
papaface Posted January 9, 2007 Share Posted January 9, 2007 Try:[code]include ('/../../somefile.php');[/code]Not 100% sure if that will work though. Link to comment https://forums.phpfreaks.com/topic/33485-problem-with-directory-structure/#findComment-156734 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.