How to detect port
#1

Hey guys, I am trying to make an Anti Advert, now this is my code:
PHP код:
IsValidIP(ip[])
{
    new 
num1num2num3num4;
    
sscanf(ip"p<.>iiii"num1num2num3num4);
    if(
num1 255 || num2 255 || num3 255 || num4 255) return false;
    if(
num1 || num2 || num3 || num4 0) return false;
    return 
true;

How can I detect the port ? (:XXXX)
Reply


Messages In This Thread
How to detect port - by NeXoR - 18.10.2016, 23:58
Re: How to detect port - by SickAttack - 19.10.2016, 00:27

Forum Jump:


Users browsing this thread: 1 Guest(s)