Beste mensen!
<b>Warning</b>: file_exists() [<a
href='function.file-exists'>function.file-exists</a>]: open_basedir
restriction in effect. File(../submenu.txt) is not within the allowed
path(s): (/home/vhosts/harmonicahoek.nl/httpdocs:/tmp) in
<b>/home/vhosts/harmonicahoek.nl/httpdocs/_php/baskant.php</b> on line
<b>8</b><br />
Krijg ik bij.
for ( $n=0 ; $n <10; $n++ )
{
if (!file_exists ($boven_pad."submenu.txt"))
{
$boven_pad.="../";
}
else
{
$submenu_gevonden=true;
$n=10;
}
}
Het betreft dus deze regel:
if (!file_exists ($boven_pad."submenu.txt"))
Whats wrong?
En hoe moet het dan anders?
--
/\/\/\/\/\/\/\/\/\
..|
..| Groetjes, Eduard
..|
\/\/\/\/\/\/\/\/\/

Likes:

Quote