My understanding is that if a path is in the include_path, then you can include() from that path even if it's above the web server's document root...
I've added /usr/local/zend/library to the include path, and yet I get:
Warning: include() [function.include]: Failed opening '1' for inclusion (include_path='.:/usr/local/pear/PEAR:/php/includes:/usr/local/zend/library') in /Library/WebServer/Documents/project/path/file.php on line 4
Any ideas?






Bookmarks