php-windows Digest 11 Feb 2002 08:01:10 - Issue 995
Topics (messages 11948 through 11949):
Re: Checking email
11948 by: Hugh Bothwell
Re: Searching MS Word Docs
11949 by: Svensson, B.A.T. (HKG)
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
MS Word document are binary.
From: Todd Williamsen
>I have no idea if its ASCII formatted or not. I wonder if there is a way
to
>find out?
>
>
>"Nicole Amashta" wrote in message
>> OK, I am not exactly sure of the format of word docs off hand. But if
they
>> are an ascii format, you can just
"Marko Mihalec" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> function isEmailInvalid($val)
> {
Note: this only checks that the value follows the format of a valid email
address.
To actually know whether the address works or not, you pretty much have to
sen
php-windows Digest 10 Feb 2002 12:15:50 - Issue 994
Topics (messages 11944 through 11947):
Console, colors and stuff
11944 by: Richard
11945 by: Alan McFarlane
11946 by: Richard
Re: Checking email
11947 by: Marko Mihalec
Administrivia:
To subscribe to the
function isEmailInvalid($val)
{
// regex for email validation
$pattern =
"/^([a-zA-Z0-9])+([\.a-zA-Z0-9_-])*@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-]+)+/";
// match?
if(preg_match($pattern, $val))
{
return 0;
}
else
{
return 1;
}
}
--
PHP Windows Mailing List (http://www.php.n