Python is better better due to it's short code. It also forces you to write a better code. It has a huge amount of packeges that are well-coded and it's faster than php :)
Here is a simple script to distinguish bots and users:
//Here is sql for mysql db:
CREATE TABLE `bot_ips` (
`id` int(11) NOT NULL auto_increment,
`ip` varchar(25) NOT NULL,
`bot` varchar(100) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `ipi` (`ip`)
) ENGINE=MyISAM
//Fill db with ip...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.