blog/test/web.php
Marc Beninca 6ada877b7f test
2021-04-05 11:31:51 +02:00

18 lines
298 B
PHP

<?php
foreach (array(
'REMOTE_ADDR',
'SERVER_ADDR',
'HTTPS',
'REQUEST_SCHEME',
'HTTP_HOST',
'SERVER_NAME',
'SCRIPT_NAME',
'QUERY_STRING',
) as $variable)
putenv("$variable=".getenv($variable));
system(dirname(getenv('SCRIPT_FILENAME')).'/'.
basename(getenv('SCRIPT_FILENAME'),'.php').'.py');
?>