/classifieds/submit.php
/inc
index.php
Code: Select all
<?php
//submit.php
require_once('../inc/include_fns.php');
?>
Apparently, it must have jumped even further up the hierarchy.
Code: Select all
require_once('/inc/include_fns.php');On my computer, the actual file path is
/Macintosh HD/Users/MyName/Sites/htdocs/MySite/classifieds/submit.php
I need my root directory to be "MySite".
But how can I get PHP to realise what root directory I want?