Brilliant. For those of us unfamiliar with the laws of de Morgan:
http://www.unc.edu/~rowlett/Math81/notes/DeMorgan.html
Fred
Jimmy Elab <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> de Morgan and Boole, not Alzheimer nor Confusius
>
> !(A OR B) = (!A) AND
I was waiting for someone to meantion de Morgan! 10 points for Mr.
Elab. Ha ha...
-Original Message-
From: jimmy elab [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 17, 2001 1:41 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: alzheimers and confused
de Morgan and Boole, not
de Morgan and Boole, not Alzheimer nor Confusius
!(A OR B) = (!A) AND (!B)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
AND seems correct to me. If you want to generate an error when the file is
not a jpeg file then the file name must not contain jpg AND must not contain
jpeg. If either jpg OR jpeg is present then no error should occur. Be
careful when using the !not operator with logical condition operators, the
4 matches
Mail list logo