How do I access files below / outside of public_html using php? RonaldGans 12 years ago Answered For my web site, my public directory is /public_html . BUT my line: fails because php cannot open the stream file.php. "includes" is off of public_html. RON
Option 1: ../
To access a file / folder below your current directory, you can use ../ For example:Option 2: Absolute Path
You can also use the absolute path, as in: