Skip to content

Instantly share code, notes, and snippets.

@pachacamac
Created December 6, 2011 00:49
Show Gist options
  • Save pachacamac/1436153 to your computer and use it in GitHub Desktop.
Save pachacamac/1436153 to your computer and use it in GitHub Desktop.
one line (needs to be 1 line!) push info script. stores simple text requests and or displays them back
<?header('Content-type: text/plain');if($d=htmlspecialchars(join("\n",array_merge($_GET,$_POST)))){@file_put_contents($f=__file__,array_shift(file($f)).$d);exit($d);}?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment