Skip to content

Instantly share code, notes, and snippets.

@ZweiSteinSoft
Created January 16, 2012 18:13
Show Gist options
  • Save ZweiSteinSoft/1622107 to your computer and use it in GitHub Desktop.
Save ZweiSteinSoft/1622107 to your computer and use it in GitHub Desktop.
PHP: Find out directory of current file
<?php
$strDir = dirname(__FILE__);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment