Hello,
Just to make sure I'm clear on what I've read...
There is NO way (not even with server settings??) to make PHP understand that this:
require_once('/folder/file.php');
Should be interpreted as:
require_once('/home/user/public_html/folder/file.php');
I realize I could do something like this:
require_once($_SERVER['DOCUMENT_ROOT'].'/folder/file.php');
But I would really love it if I could require a page using the same web-root relative url like when inserting an image or link etc:
<a href="/folder/file.php">
Thanks!
Peter