[PHP] Re: open_basedir restriction and local value for php.ini

2004-09-22 Thread Niklas Lampén
Is the situation this: /home/a.php includes page /home/lib/b.php which includes /home/lib/c.php? If I recall correctly, when you include a file in an included file, the script is run in the directory where a.php is located. So you need to include files based on that directory. I recommend you

[PHP] Re: open_basedir restriction and local value for php.ini

2004-09-22 Thread Bogdan Ribic
Thanx, but the script works fine with this include structure. I just need to get rid of the warnings. Niklas lampén wrote: Is the situation this: /home/a.php includes page /home/lib/b.php which includes /home/lib/c.php? If I recall correctly, when you include a file in an included file, the

[PHP] Re: open_basedir restriction and local value for php.ini

2004-09-22 Thread Niklas Lampén
I think my solution will get you rid of the error messages. Alternatively you can use ? error_reporting(0); ? to disable errors. Niklas Bogdan Ribic wrote: Thanx, but the script works fine with this include structure. I just need to get rid of the warnings. Niklas lampén wrote: Is the