Reply to Re: [PHP] Filtering and Escaping (Was: Select and $_POST)

Your name:

Reply:


Posted by Jasper Bryant-Greene on 11/12/05 01:58

Chris Shiflett wrote:
> I'm pretty lenient with email addresses and use the pattern from the PHP
> Cookbook (David Sklar and Adam Trachtenberg). I usually modify it to not
> allow angled brackets, since I don't know any email address that has
> those (but, they're probably OK as far as the spec goes).

I always try to enter my email address like this when asked for it on a
form:

Jasper Bryant-Greene <jasper@album.co.nz>

That is a perfectly valid (according to RFC822) email address. Those
that do bother to validate usually spit it out as invalid.

Just to demonstrate that it's not quite as simple as it might first
appear :)

Jasper

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация