How do I include files that are outside the web root?
My two websites came with these default folders:
/cgi-bin/
/www/example.ca/
/www/example/
/www/example2.ca/
/www/example2/
How do I include files from from folder /example/ ?
I am adding in some database functions, so I will need to put my library folder and config.php files somewhere secure. Maybe I'm mistaken, but I gather that these shouldn't go in the /example.ca/ folder, but in the /example/ folder instead. How do I do that?
($_SERVER['DOCUMENT_ROOT']) puts me in the /example.ca/ folder.