Forum Moderators: coopster
Further questions -
How are you posting the information i.e. are you posting through a proxy or not?
Are you getting an error? If so what is it?
Welcome along to Webmaster World.
[edited by: PHP_Chimp at 8:29 pm (utc) on Dec. 5, 2007]
If vc++ use get method, the php can get the data ,
but the vc++ use post method , the php can't , only get a empty array.
and the asp.net can get the post data:
here is the code:
foreach (string str in Request.QueryString.AllKeys)
Response.Write(str + ":" + Request.QueryString[str] + "");
foreach (string str in Request.Form.AllKeys)
Response.Write(str + ":" + Request.Form[str] + "");
but use in php :
foreach ($HTTP_POST_VARS as $name=>$value) {
global $HTTP_POST_VARS;
echo $name."=>".$value."<br />";
}
foreach ($HTTP_GET_VARS as $name=>$value) {
global $HTTP_GET_VARS;
echo $name."=>".$value."<br />";
}
can't get the post data.