Files Server Path

Browse: Tutorials » PHP
Very simple, the command is

$_SERVER["SCRIPT_FILENAME"]


The complete code to display a directory path

<?

echo $_SERVER["SCRIPT_FILENAME"];

?>


Thanks again!