Re: Re: Mail-format...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Gustav Wiberg wrote:
----- Original Message ----- From: "joshua may" <notjosh@xxxxxxxxx>
To: <php-general@xxxxxxxxxxxxx>
Sent: Thursday, September 22, 2005 9:50 AM
Subject:  Re: Mail-format...


I was having the same issue with one of my clients just today in fact. We just filtered the email addresses to ensure they're valid. There's a million regex's out there to do this for you..

Cheers
Josh

Gustav Wiberg wrote:

Hi there!

I wonder why I get get these kind of mails (look down below in this mail) I recieve them sometimes...
...I have a code like this...

$name = $_POST["frmNamn"];
$email = $_POST["frmEpost"];

//Send mail that there is a new member
//
mail("info@xxxxxxxxxxx","Ny medlem - Stammis Internet","Namn: $name, Epost:$email");



/G
http://www.varupiraten.se/


Namn: wftmbsbwas@xxxxxxxxxxx
Content-Type: multipart/mixed; boundary=\"===============0158601545==\"
MIME-Version: 1.0
Subject: c1805938
To: wftmbsbwas@xxxxxxxxxxx
bcc: PeiCanteenMc@xxxxxxx
From: wftmbsbwas@xxxxxxxxxxx

This is a multi-part message in MIME format.

--===============0158601545==
Content-Type: text/plain; charset=\"us-ascii\"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit

aienglpcm
--===============0158601545==--
, Epost:wftmbsbwas@xxxxxxxxxxx



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



--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.4/109 - Release Date: 2005-09-21


Hi there!

A million? Have you done the count? ;-) *just joking*

Thanx!

/G
http://www.varupiraten.se/

No counting, but I'm pretty sure there's more than a million ;p
Every php (wanna-be) dev creates a regexp for email-validation at some point (or even more than one). So I'm pretty sure there's *tons* of them (and that means billions, and probably more). Unless you want unique regexps, which brings it down to quite a lot less ;p

- tul

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux