New answers tagged user-agent
Had similar issues with this in the past. From what I've read, there is a big possibility that it is actually IE 11 (really, it comes down to how Webtrends interprets it). This is because IE recently made changes to its User Agent. See here.
Yes you can. In fact, I recommend it and others too. I would not work so hard on my regular expression to include version numbers- just ^PHP.*$ You will find that some agent names are consistently up to no good even though some will argue that they can be used for good and should not be blocked. That is a negative argument. I study these things and I ...
PHP user agents are known as libraries. It should be no problem if you block them since legitimate crawlers use other string types, however, can't you check and block only the IP's? In this site, for example, you have ways to block only Chinese traffic.
The identification your script is doing is blind, what I mean is that is trying to look just for that words inside the UA string in order to get the value and redirect the user. There are much more advanced libraries available for Free that will allow you to more correctly identify your users. I've used this one in the past with good results: ...
Top 50 recent answers are included