- 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 . '," base64_decode(\"ZWNobyAnYSc7\");");');echo "---" ; echo file_get_contents($tmp); echo "===";include($tmp);