You are here: Re: webpage with php mail() function prone to spam? « All PHP « IT news, forums, messages
Re: webpage with php mail() function prone to spam?

Posted by Norman Peelman on 12/17/06 15:22

"J.O. Aho" <user@example.net> wrote in message
news:4ul2r5F187ua0U1@mid.individual.net...
> Norman Peelman wrote:
>
> > Before anyone starts, I know this may or may not be the best
'pattern'
> > for validating email but, i'm on Windows and I have'nt had much luck
with
> > the workarounds of not being able to use getmxrr(). I'ts close enough
for me
> > (for now).
>
> From the manual page:
>
> Note: This function is not implemented on Windows platforms. Try the PEAR
> class Net_DNS.
>
> You could still check the domain with gethostbyaddr(), except you will
deny
> those addresses that don't have a valid ip, but a valid MX record.
>
> Sadly without getmxrr() you can't do a check directly against the
mailserver
> to validate the e-mail address, for me it would feel quite crippled to not
be
> able to use getmxrr().
>
>
> --
>
> //Aho

I took a look at that while I was responding the first time. I thought I
had looked before too. I just haven't had much luck getting those
workarounds to work. I should try alittle harder but I think i'll be
switching to linux soon anyway.

Norm

--
FREE Avatar hosting at www.easyavatar.com

 

Navigation:

[Reply to this 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

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