In article <01d301c24ce0$a818d460$63a429c4@tech01>, [EMAIL PROTECTED] says... > Hi all, > > I'm trying include .php files which reside in alternative directories or > sub-directories. Such as a file which reside in www/chat/page.php, and for > this page I would like to include a file which resides in www/forum/include/ > > I've tried the following which just results in a error: > include '/forum/include/test.php'; aqnd multiple variations of it. > > How do I get around this problem? > > Greg > > If you are including from the local file system, you need to use the full pathname, not the URI.
Assuming www is really /www, you would need include '/www/forum/include/test.php' -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php