2 Answers
Hi,
Try using this: include($_SERVER['DOCUMENT_ROOT'] . '/directory/myfile.php');
$_SERVER['DOCUMENT_ROOT'] will give you /home/USERNAME/public_html. If you're using an add-on domain, that directory will be included at the end.
So your include will look like /home/USERNAME/public_html/directory/myfile.php
Phil