.);
exit;
}
Please help.
Denis
- Original Message -
From: Steve Buehler [EMAIL PROTECTED]
To: Kevin Stone [EMAIL PROTECTED]
Cc: PHP [EMAIL PROTECTED]
Sent: Saturday, May 11, 2002 2:45 AM
Subject: Re: [PHP] eregi(mail)
Either Google is wrong (probably) or they are now allowing things like
On Tue, 21 May 2002, Denis L. Menezes wrote:
I use the following code, but it does not work. Is there something wrong?
If
(ereg('^[-!#$%\'*+\\./0-9=?A-Z^_`a-z{|}~]+'.''.'[-!#$%\'*+\\/0-9=?A-Z^_`a
-z{|}~]+\.'.'[-!#$%\'*+\\./0-9=?A-Z^_`a-z{|}~]+$',
$email_address))
One problem (syntax
Thanks to all who helped out with the eregi(mail)
stuff. I got my problem solved, and on top of that,
there were some bugs that I found in the code. Thanks
again to everyone.
__
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
Hi Liam:
On Fri, May 10, 2002 at 09:48:58AM -0700, Liam Gibbs wrote:
Does anyone have a decent eregi statement for
validating e-mail addresses?
eregi('^[a-z0-9_.=+-]+([a-z0-9-]+\.)+([a-z]{2,6})$', $Email);
Enjoy,
--Dan
--
PHP classes that make web design easier
SQL
On Fri, 10 May 2002, Liam Gibbs wrote:
Does anyone have a decent eregi statement for
validating e-mail addresses? I've tried the ones on
the site, but there seems to be small bugs with each
of them. They tell me that [EMAIL PROTECTED] is an
invalid e-mail address.
Well, it currently is an
it
was useful in some tiny miniscule sort of way. :)
--
Kevin Stone
[EMAIL PROTECTED]
- Original Message -
From: Analysis Solutions [EMAIL PROTECTED]
To: PHP List [EMAIL PROTECTED]
Sent: Friday, May 10, 2002 10:59 AM
Subject: Re: [PHP] eregi(mail)
Hi Liam:
On Fri, May 10, 2002 at 09
function check_input($array){
global $HTTP_REFERER;
$valid = 1;
if(gettype($array)==array) {
while (list($index, $subarray) = each($array) ) {
if(ereg(required_, $index) (($subarray == )
|| ($subarray == ))) {
On Fri, 10 May 2002, Kevin Stone wrote:
I had always been suspicious about email validators so I did a big long
search on Google about standard address formats. It turns out that aside
from the symbol emails have no standard format whatsoever. So ereg('',
$email) is really the only
On Fri, 10 May 2002, Steve Buehler wrote:
if(ereg('^[-!#$%\'*+\\./0-9=?A-Z^_`a-z{|}~]+'.''.'[-!#$%\'*+\\/0-9=?A-Z^_`a-z{|}~]+\.'.'[-!#$%\'*+\\./0-9=?A-Z^_`a-z{|}~]+$',
If I'm reading it correctly, this will let invalid addresses through. The
domain component (after the sign) can only
Folks:
On Fri, May 10, 2002 at 01:27:45PM -0500, Steve Buehler wrote:
if(ereg('^[-!#$%\'*+\\./0-9=?A-Z^_`a-z{|}~]+'.''.'[-!#$%\'*+\\/0-9=?A-Z^_`a-z{|}~]+\.'.'[-!#$%\'*+\\./0-9=?A-Z^_`a-z{|}~]+$',
$subarray)){
Those characters don't conform to the RFC.
: Re: [PHP] eregi(mail)
Hi Liam:
On Fri, May 10, 2002 at 09:48:58AM -0700, Liam Gibbs wrote:
Does anyone have a decent eregi statement for
validating e-mail addresses?
eregi('^[a-z0-9_.=+-]+@([a-z0-9-]+\.)+([a-z]{2,6})$', $Email);
Enjoy,
--Dan
--
PHP
To tell you the truth, I can't read it.
Steve
At 01:32 PM 5/10/2002, Miguel Cruz wrote:
On Fri, 10 May 2002, Steve Buehler wrote:
if(ereg('^[-!#$%\'*+\\./0-9=?A-Z^_`a-z{|}~]+'.''.'[-!#$%\'*+\\/0-9=?A-Z^_`a-z{|}~]+\.'.'[-!#$%\'*+\\./0-9=?A-Z^_`a-z{|}~]+$',
If I'm reading it correctly,
format is irrelevant.
-Kevin
- Original Message -
From: Miguel Cruz [EMAIL PROTECTED]
To: Kevin Stone [EMAIL PROTECTED]
Cc: PHP-general [EMAIL PROTECTED]
Sent: Friday, May 10, 2002 12:30 PM
Subject: Re: [PHP] eregi(mail)
On Fri, 10 May 2002, Kevin Stone wrote:
I had always been suspicious
This is what I have used.
?
if(eregi(^[_.+a-z0-9-]+@[a-z0-9-]+(\.[a-z0-9-]+)*(\.([a-z]){2,4})\$,
$email)){
echo Good Email!;
}
?
Here is an excellent article on Regular Expressions.
Learning to Use Regular Expressions by Example
http://www.phpbuilder.com/columns/dario19990616.php3
On Fri, 10 May 2002, Kevin Stone wrote:
As we all know ARPA is thet university network, funded by the government
to build an information infrastructure that eventually became the
internet we have today. But the standards for text messaging within the
ARPA net have been added to over the
15 matches
Mail list logo