georgeocrawford
Technical User
Hi,
I've just downloaded a php class from phpclasses.org. When I open up the 'test.php' file the author has supplied, I get this error:
I don't understand this, because the 'include' function works great for the scripts I've written myself.
The include file is in the same directory as 'test.php' (and I've learnt that the '.' in the include_path setting means it searches in the same directory first), so I don't know why it can't find it.
I have installed php 4.2.3 on Mac OS X with a package which didn't give me a php.ini file. Is this a problem???
Thanks for any help ______________________
George
I've just downloaded a php class from phpclasses.org. When I open up the 'test.php' file the author has supplied, I get this error:
Code:
Warning: Failed opening '/Library/WebServer/Documents/arraytoimage-2002-01-02/test.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0
I don't understand this, because the 'include' function works great for the scripts I've written myself.
The include file is in the same directory as 'test.php' (and I've learnt that the '.' in the include_path setting means it searches in the same directory first), so I don't know why it can't find it.
I have installed php 4.2.3 on Mac OS X with a package which didn't give me a php.ini file. Is this a problem???
Thanks for any help ______________________
George