hi
I have this source

env = {}
        env['SERVER_SOFTWARE'] = ''+self.version_string()
        env['SERVER_NAME'] = self.server.server_name
        env['GATEWAY_INTERFACE'] = 'CGI/1.1'
        env['SERVER_PROTOCOL'] = self.protocol_version
        env['SERVER_PORT'] = str(self.server.server_port)
        env['REQUEST_METHOD'] = self.command
        uqrest = urllib.unquote(rest)
        env['PATH_INFO'] = uqrest
        env['PATH_TRANSLATED'] = self.translate_path(uqrest)
        env['SCRIPT_NAME'] = scriptname

how I can print arrays in this format

[HTTP_GET_VARS] => Array ( [v1] => fsdfsdf [v2] => sdfsdf [v3] => sdfsd ) 
[_GET] => Array ( [v1] => fsdfsdf [v2] => sdfsdf [v3] => sdfsd )

with python

env['HTTP_GET_VARS''] = ''
env['_GET'] = ''

this is from web server and must works with php source where in php is

<?

echo $HTTP_GET_VARS['v1'];
echo $_GET['v1'];
echo $_GET['v2'];
echo $_GET['v3'];

?>

10x! :D

This question has already been answered. Start a new discussion instead.