ohdang888 Posted December 24, 2007 Share Posted December 24, 2007 hey, i use a e-mail list as a text file that people can add their e-mails to via a php script. but for privacy concerns, i gotta make sure no one has access to that file but me. i use the following code in the script $emailfile = "../emaillist.txt" thats at... site.com/folder.. and the file is stored in the root directory... how do i make it call a file from TWO folders back???????????(the file in that the root directory is located in) Quote Link to comment https://forums.phpfreaks.com/topic/83001-including-files-past-root/ Share on other sites More sharing options...
trq Posted December 24, 2007 Share Posted December 24, 2007 $emailfile = "../../emaillist.txt"; Quote Link to comment https://forums.phpfreaks.com/topic/83001-including-files-past-root/#findComment-422158 Share on other sites More sharing options...
papaface Posted December 24, 2007 Share Posted December 24, 2007 ../../folder Quote Link to comment https://forums.phpfreaks.com/topic/83001-including-files-past-root/#findComment-422159 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.