Feel really embarassed for asking this as I used to know it by heart and now am finding myself to be done.
Anyways I'm using the require_once function. My script is located at
/maps/flash/flash_output.php
I need to call upon the file to connect to the database, which is
/config/connect.php
Does anyone have a link to either a php script or know of a function that can figure out my root directory information so that I can correctly call upon my connect.php file?