[PHP] Re: include (or require) doesn't seem to work

2004-05-12 Thread Torsten Roehr
"Daniel Barbar" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Thanks Torsten! Using the file-system relative path made it work (I had > tried only with the absolute path, which ddidn't work). However, I checked > again and I did have 'allow_url_fopen = On' in /etc/php.ini. I'll take

[PHP] Re: include (or require) doesn't seem to work

2004-05-12 Thread Daniel Barbar
Thanks Torsten! Using the file-system relative path made it work (I had tried only with the absolute path, which ddidn't work). However, I checked again and I did have 'allow_url_fopen = On' in /etc/php.ini. I'll take a closer look later and report the problem if I find it. Thanks again, Daniel "

[PHP] Re: include (or require) doesn't seem to work

2004-05-11 Thread Torsten Roehr
> Try including it as a local file: > require_once library.php'; // if it is in the same directory as the file you Forgot a quote here, sorry: require_once 'library.php'; Torsten -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: include (or require) doesn't seem to work

2004-05-11 Thread Torsten Roehr
"Daniel Barbar" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > I'm almost ashamed to ask this question as surely enough the > problem is something very basic but, nonetheless, I can't put my finger on > it. I'm trying to implement the concept of a library (librar