I’m trying to send a get request to my php page, the request comes in fact the content of my page shows that the data that I sent are included.
The problem is that in my php page, I can not see them, even printing the global array $ GET tells me is empty. When at the same time zerynth tells me that the content includes my data. It 'a problem of compatibility? The browser should be set in any way?
File Zerynth:
params1 = {
“name”: “Pisa”,
“address”:“Veneto”
}
user_agent = {“user-agent”:“Mozilla/5.0 (iPad; U; CPU OS 3_2_1 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Mobile/7B405”}
url=“http://sistemaallagamento.altervista.org/NuovoFile.php?"
response = requests.get(url,user_agent,params=params1)
print(“Success!!”,response.status)
print(”-------------")
print(“Content!!”,response.content)
NuovoFile.Php:
<?php
$name = $_GET["name"];
$address = $_GET['address'];
$result = "Il nome " . $name . ", l'indirizzo" . $address;
echo $result;
echo "
";";
var_dump($_GET);
echo "
?>
can someone help me?