I can't seem to get it to work for some dumb reason.
All I want to do is show the path with file name (../stuff/myfile.php) on the page. I've tried
<?php echo $_SERVER['PHP_SELF'] ?> but no luck.
What am I missing?
Thank you
$SERVER['PHP_SELF'] will show the current file realtive to your server's document root. if you want the complete path you can use $SERVER['SCRIPT_FILENAME']. read up on this
Worked great!
Thank you for the help and the link.