----- Original Message ----- From: "M. Sokolewicz" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>
Cc: <php-general@lists.php.net>; "joshua may" <[EMAIL PROTECTED]>
Sent: Thursday, September 22, 2005 5:24 PM
Subject: Re: [PHP] Re: Mail-format...


Gustav Wiberg wrote:
----- Original Message ----- From: "joshua may" <[EMAIL PROTECTED]>
To: <php-general@lists.php.net>
Sent: Thursday, September 22, 2005 9:50 AM
Subject: [PHP] 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("[EMAIL PROTECTED]","Ny medlem - Stammis Internet","Namn: $name, Epost:$email");



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


Namn: [EMAIL PROTECTED]
Content-Type: multipart/mixed; boundary=\"===============0158601545==\"
MIME-Version: 1.0
Subject: c1805938
To: [EMAIL PROTECTED]
bcc: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]

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:[EMAIL PROTECTED]



--
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

*lol* Guess it's hard to find a unique solution when there's tons out there.. What search-string should be applied in google? (regexp + mail ?)

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

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

Reply via email to