[PHPLIB] Includes in subdirs From: Alan Meadows (clam <email protected>)
Date: 02/11/00

How do I need to modify PHPLIB or my include statements so that I can
include() files from the root of my web in subfolders?

For example:

if '/' has: header.inc, footer.inc
and '/alan' has: index.php3 that tries to include() the above files.

Currently, this just gives me an error:
Warning: Failed opening '/header.php3' for inclusion in
/usr/local/httpd/wwwdocs/alan/index.php3 on line 5

I'd like for that error to go far, far away...

Thanks,
-Alan

-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.