OK, this is bad. Really bad. I've been searching online and poking around the internet and haven't found what I need. I have a feeling I'm going to feel like a fool when I see the answer.....
OK, I want to get the file path where the current file is located...
This will kick out the path PLUS the filename. How do I get rid of the filename?
OK, I want to get the file path where the current file is located...
PHP:
$path = $_SERVER['SCRIPT_FILENAME'];