Click here to get back home

PHP 5 & mail filter

 HomeNewsGroups | Search

comp.lang.php - PHP programming language discussions 

get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
PHP 5 & mail filter Twayne 11-02-2008
Posted by Twayne on November 2, 2008, 10:56 am
Please log in for more thread options
Hi,

I've been playing with ' if(!filter_var($email, FILTER_VALIDATE_EMAIL))
'
on my server and it seems to be working 100%. Pretty handy.

Any ideas where I could find a summary of the e-mail formats the filter
checks?

So far it's evading me. The Manual and w3schools just send me in
circles, and Google has been even less help so far. I'd probably be
happy if I could even find an RFC it was written against.

TIA,

Twayne






Posted by Luuk on November 2, 2008, 2:21 pm
Please log in for more thread options
Twayne schreef:
show/hide quoted text

http://us3.php.net/manual/hu/ref.filter.php#filter.constants


Posted by Twayne on November 2, 2008, 4:41 pm
Please log in for more thread options
show/hide quoted text

Finally! Meaningful, specific descriptions; thank you!

Strange; I've been all over that same site and not found those; the
English language version of that very same page doesn't include all of
that information. I have a feeling some cell heights got borked along
the line or something.
Maybe I should be looking at the Hungarian versions more often!
The real reason I asked the question though was for validation of the
information: some of the filters I'm testing aren't doing precisely what
the us3.php.net... table says they're doing and I thought they should
show/hide quoted text

Thanks much, I'll likely be back!

Twayne



Posted by Luuk on November 3, 2008, 1:28 pm
Please log in for more thread options
Twayne schreef:
show/hide quoted text

Oeps, i did not notice the '/hu/' in the url.... ;-)

But i found another reason why this info is not on php.net

Its: http://www.php.net/manual/en/function.filter-list.php

This function returns a list of supported filters,

So its not upto PHP to give info on what the supported filters do, if
its a list which is returned from an external call ?

so, via:
http://www.google.nl/search?source=ig&hl=nl&rlz=&q=PECL+filter&btnG=Google+zoeken&meta=
i found:
http://nl3.php.net/filter
which brought me to:
http://devolio.com/blog/archives/413-Data-Filtering-Using-PHPs-Filter-Functions-Part-one.html

happy reading... ;-)

Posted by Twayne on November 3, 2008, 6:11 pm
Please log in for more thread options
show/hide quoted text
http://www.google.nl/search?source=ig&hl=nl&rlz=&q=PECL+filter&btnG=Google+zoeken&meta=
show/hide quoted text
http://devolio.com/blog/archives/413-Data-Filtering-Using-PHPs-Filter-Functions-Part-one.html
show/hide quoted text

Thanks, I came across that too. Too bad he hasn't gotten to part two
yet; might be some good info.
I find it interesting how little internal analytical information is
avalable for PHP, especially for its functions. Either no one but the
author knows, or it's an intentional ego thing where to see what's in
them you have to use process of elimination and check for reported bugs
against them, etc.. Kind of silly IMO. OH well, that's what makes life
intersting I suppose.

Cheers,

Twayne



Similar ThreadsPosted
PHP mail() and AOL Spam Filter June 8, 2007, 1:51 pm
mail() Blocked by Spam Filter April 7, 2006, 4:45 pm
how to make a filter function-filter out items in array? November 4, 2009, 6:02 pm
Filter function help May 6, 2005, 4:54 pm
Input Filter? August 14, 2006, 10:50 pm
The PHP Filter Extension July 12, 2009, 3:39 pm
Displaying images with a filter January 24, 2006, 10:26 am
How to filter the words in HTML ? October 19, 2006, 1:05 pm
How to pass parameters to a php://filter ? July 2, 2008, 10:36 am
guest book filter OT? February 22, 2010, 8:26 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Driving a better car - Fuelzilla.com

Cabling site for homeowners and pros alike - Cabling-Design.com

Friends:

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap
Privacy Policy