Can 'basedir' help me use root-relative paths in PHP includes?
Hi,
<?php include ('/includes/_header.php'); ?>
...doesn't work, presumably because PHP believes the root directory to be "/home/user/domain/etc" instead of simply "domain"
I'm a bit new to PHP, but wouldn't the "basedir" attribute fix this? And if so, how would it be used in this context, so that Dreamweaver can continue to recognize where the files are located without a testing server needed, and root-relative paths can be used on the server itself?
Thanks!
