test
This commit is contained in:
parent
29a88fc652
commit
6ada877b7f
5 changed files with 100 additions and 0 deletions
18
test/web.php
Normal file
18
test/web.php
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?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');
|
||||
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue