[Ajuda] Identificador de Proxy
#2

Olhe isto:
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;
}
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
Reply


Messages In This Thread
Identificador de Proxy - by CharCoast - 18.01.2015, 15:31
Re: Identificador de Proxy - by MultiKill - 18.01.2015, 15:54
Re: Identificador de Proxy - by ipsLuan - 18.01.2015, 19:51
Re: Identificador de Proxy - by MultiKill - 18.01.2015, 20:38
Re: Identificador de Proxy - by connork - 19.01.2015, 13:00
Re: Identificador de Proxy - by CharCoast - 19.01.2015, 13:52
Re: Identificador de Proxy - by connork - 19.01.2015, 13:56
Re: Identificador de Proxy - by MultiKill - 19.01.2015, 14:04
Re: Identificador de Proxy - by CharCoast - 19.01.2015, 15:00

Forum Jump:


Users browsing this thread: 2 Guest(s)