Example: (simplified to handle the specific problem I'm having)
I have two files that I want to connect via an include statement. One is in /foo/bar/file.php, while the other is in /include/header.php. So, I'm using the following script in file.php to include header.php:
<?php include('../../include/header.php'); ?>
I've found that the problem I'm having has to do with the "../", either by me doing something that isn't right or by some other reason.
So, my question is whether or not that include statement is doing anything that I'm not expecting it to do? If it is written the way it's supposed to, what could be wrong, as in my code the file does not get included into the web page.