I am using python's urllib to send POST request to a PHP program:
phonehome_url = "example.com/phonehome.php"
urllib.urlopen(phonehome_url, site_info);
site_info is an array like this: [{'name': 'Technische Universitaet Muenchen', 'url': 'http://www.tum.de', 'site_id': 11599, 'longitude': 11.5669, 'login_base': 'tumple', 'latitude': 48.1493}]
.
But the phonehome.php
receives empty $_POST
. My webserver is nginx.
Any idea? I already tried modify the fastcgi-params, doesn't work.
And I tried the same thing on Apache without this problem.