ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-db
php-db
[PHP-DB] Re: Eliminating character sets from DB entry
by Michelle Konzack other posts by this author
May 5 2006 8:49AM messages near this date
Re: [PHP-DB] access db | [PHP-DB] short text strings with apostrophes and forms
Am 2006-04-30 19:59:06, schrieb Chris Payne:
>  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.

???

If you store your Messages in a MySQL database, the script, which store
the messages schould check the "Content-Type:" Header before inserting.

And second, you should roun spamassassin/spamc on each message before
passing the message to the script...

This two advices should you save some headache...

Note:   I have now over 7 million messages in my PostgreSQL
        and to 99,999% spamfree
        (using fetchmail, procmail and a php5 script).

Greetings
    Michelle Konzack


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved