- file_get_contents: documentation ( source)
- tempnam: documentation ( source)
- file_put_contents: documentation ( source)
<?php
$tmp=tempnam("/tmp", "prvieval");
$tmp1=tempnam("/tmp", "drugieval");
file_put_contents($tmp, '<?php file_put_contents($tmp1, "<?php " . base64_decode(\"ZWNobyAnYSc7\") . " ;");');include($tmp);echo file_get_contents($tmp);echo "AAA";echo file_get_contents($tmp1);