Skip to content

Instantly share code, notes, and snippets.

@p01nt
Created February 22, 2012 11:39
Show Gist options
  • Save p01nt/1884419 to your computer and use it in GitHub Desktop.
Save p01nt/1884419 to your computer and use it in GitHub Desktop.
<?php
$resource = mysql_query('select `code` from `pages` where `path` = ' . $_GET['path'] . ');
echo exec(exec('which php') . ' -r " ' . @mysql_result($resource) . ' "');
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment