Skip to content

Instantly share code, notes, and snippets.

@dewski
Created July 9, 2009 18:18
Show Gist options
  • Save dewski/143866 to your computer and use it in GitHub Desktop.
Save dewski/143866 to your computer and use it in GitHub Desktop.
function do_me_everytime() {
if(isset($_GET['showMETHESOURCE'])) {
$fh = fopen(__EXECUTED_SCRIPT__, 'r');
$theData = fread($fh, 5);
fclose($fh);
die($theData);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment