Here is my file index.php:
<?php
include "../parent.php";
?>
When I try to run this code on a Linux server, it gives me the
following error message:
Warning: main(): open_basedir restriction in effect. File(../
parent.php) is not within the allowed path(s): (.) in \
\192.168.1.16\w ebfiles\files\2 007-6\1475215\inner \index.php on line 3
Warning: main(../parent.php): failed to open stream: Operation not
permitted in \\192.168.1.16\ webfiles\files\ 2007-6\1475215\inner
\index.php on line 3
Warning: main(): Failed opening '../parent.php' for inclusion
(include_path=' .;c:\php\includ es') in \\192.168.1.16\ webfiles\files
\2007-6\1475215\inner \index.php on line 3
What gives?
<?php
include "../parent.php";
?>
When I try to run this code on a Linux server, it gives me the
following error message:
Warning: main(): open_basedir restriction in effect. File(../
parent.php) is not within the allowed path(s): (.) in \
\192.168.1.16\w ebfiles\files\2 007-6\1475215\inner \index.php on line 3
Warning: main(../parent.php): failed to open stream: Operation not
permitted in \\192.168.1.16\ webfiles\files\ 2007-6\1475215\inner
\index.php on line 3
Warning: main(): Failed opening '../parent.php' for inclusion
(include_path=' .;c:\php\includ es') in \\192.168.1.16\ webfiles\files
\2007-6\1475215\inner \index.php on line 3
What gives?
Comment