"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 a > closer look later and report the problem if I find it. Thanks again, > > Daniel
Using the absolute path works as well - but you have to use the full LOCAL file path, e.g. /htdocs/www/your-domain etc. You can get this value from $_SERVER['DOCUMENT_ROOT']. Regards, Torsten > > "Torsten Roehr" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > 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