Created
September 5, 2025 14:27
-
-
Save DarkVss/b79607959ac0a80382a08bd94774ed6c to your computer and use it in GitHub Desktop.
Temporary php generation code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Temp execution file | |
$temp = tmpfile(); | |
var_dump(stream_get_meta_data($temp)["uri"]); | |
fwrite($temp, '<?php echo "исполнен код из временного файла в " . microtime(true) . "\n";'); | |
fseek($temp, 0); | |
include stream_get_meta_data($temp)["uri"]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment