macbookpro
Registered Member
- Sep 2, 2010
- 82
- 13
So my ads keep getting disapproved on Adcenter because of using direct linking to offer.
What i need is a PHP code that will check ips of visitors from Ip.txt file and if ip is not listed on txt , script will perform a redirect to offer url.
If ip is listed in ip.txt file then it will stay on the same page which is index.php.
P.S :
My Ip base has IP blocks such as 100.100.0.0
So Php code should understand its an ip block.
Any help is appreciated. Thanks.
What i need is a PHP code that will check ips of visitors from Ip.txt file and if ip is not listed on txt , script will perform a redirect to offer url.
If ip is listed in ip.txt file then it will stay on the same page which is index.php.
P.S :
My Ip base has IP blocks such as 100.100.0.0
So Php code should understand its an ip block.
Any help is appreciated. Thanks.