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) 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"; 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 Link to comment https://forums.phpfreaks.com/topic/83001-including-files-past-root/#findComment-422159 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.