Jump to content

including files past root


ohdang888

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.