18.01.2015, 15:54
Olhe isto:
E olhe estб informaзгo do site:
"A resposta й um ъnico caractere e conterб um dos trкs valores: Y se й um proxy, N , se nгo й, ou X , se hб um erro."
Para saber mais sobre a funзгo HTTP:
https://sampwiki.blast.hk/wiki/HTTP
pawn Код:
#include a_http
main()
{
HTTP(0, HTTP_GET, "www.shroomery.org/ythan/proxycheck.php?ip=1", "", "MyHttpResponse");
}
forward MyHttpResponse(index, response_code, data[]);
public MyHttpResponse(index, response_code, data[])
{
if(response_code == 200) //Did the request succeed?
{
printf("The URL replied: %s", data);
}
else
{
printf("The request failed! The response code was: %d", response_code);
}
return 1;
}
"A resposta й um ъnico caractere e conterб um dos trкs valores: Y se й um proxy, N , se nгo й, ou X , se hб um erro."
Para saber mais sobre a funзгo HTTP:
https://sampwiki.blast.hk/wiki/HTTP