php doesnt follow the include paths

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
HaYZaM
Forum Newbie
Posts: 1
Joined: Sun Sep 27, 2009 9:44 am

php doesnt follow the include paths

Post by HaYZaM »

i defined the include path in the same region of code but in another file than the one who executes the error.

if ($debug)
{
$include = include_once($file_name);
}
else {
$include = @include_once($file_name);
}

it goes to search for the file_name online not in the include path.

i did the settings of :
allow_url_fopen Off Off
allow_url_include Off Off

but it still goes online to search for the file.

any ideas?!
Post Reply