Hi, I was wondering if there is a way in php to determin if a url is an adserver or not before even setting foot on the site. Im not 100% but I thought I saw a nice tutorial somewhere on how to write a php script on just this but I cant seem to find it.
If it's possible can someone explain to me how to start such a script/function or point me to a link that would help.
If its not possible then just post some facts as to why its not.
My ideas if its possible and works this way:
Have a php function to go to the url you input in a box, have it grab info about the data trying to be downloaded (ex. cookies, images, activeX, basicly anything) and stopit dead in its tracks before anything gets saved. If a site starts downloading then write to txt file "adserver.txt". If it dosnt try to download anything then its a safe site and echo "THe url you submitted is not a adserver.
Drawbacks:
Alot of sites use cookies, this might cause false positives. Also sites that Have adservers on them might get counted as an Adserver.
Thanks, ) DeathfireD )