I am trying to searc开发者_Go百科h in google for php code that will let me load or browse a file work2.php
.
Note that my directory is /home/meria/public_html/work/
.
example: /home/meria/public_html/work/code.php
The target file is: /var/work2.php
Maybe you just want to include the file?
<?php
include "/var/work2.php";
If: /home/meria/public_html/work/code.php
going to: /var/work2.php
include "../../../../var/work2.php"; // I might be a little off
精彩评论