06.10.2014, 22:14
Hello,
I am trying to get data from my website using HTTP_GET, and its just doesn't retrieve any data (it does on internet, a link below).
Output:
Link: CLICK HERE
By the way, I am using linux, and on other websites it does retrieving the data.
I am trying to get data from my website using HTTP_GET, and its just doesn't retrieve any data (it does on internet, a link below).
PHP код:
HTTP(playerid, HTTP_GET, "r-scripting.sytes.net/curl.php?limit=16&linkid=http://www.*******.com/results?search_query=x?factor", "", "My*******HttpResponse");
PHP код:
public My*******HttpResponse(index, response_code, data[])
{
if(response_code == 200)
{
new string[64];
format(string, 64, "data retrieved: %s", data);
SendClientMessage(index, -1, string);
}
return 1;
}
Код:
data retrieved:
By the way, I am using linux, and on other websites it does retrieving the data.