trap the IP and do a lookup on some service to detmine the origin of the user...if not from the country(ies) you want to serve redirect that user away to some other page or provide a custom 404 page to mess with the bots


From: "Chris Payne" <[EMAIL PROTECTED]>
To: <>
Subject: [PHP-DB] Eliminating character sets from DB entry
Date: Sun, 30 Apr 2006 19:59:06 -0400

Hi there everyone,

Is there a way to allow Only English character sets in database entry with
MySQL and PHP?  I'm getting an awful lot of SPAM which is in
Chinese/Japanese and i'd love to be able to block these charactersets from
being inserted into my databases.


PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to