Skip to content

Instantly share code, notes, and snippets.

@FernE97
Created March 4, 2014 00:27
Show Gist options
  • Save FernE97/9337721 to your computer and use it in GitHub Desktop.
Save FernE97/9337721 to your computer and use it in GitHub Desktop.
Server file path
<?php
$dir = dirname(__FILE__);
echo "<p>" . $dir . "</p>";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment