Re: [PHP] alzheimers and confused

2001-11-18 Thread Joe Stump
if(!eregi("\.jpg$",$image) || !eregi("\.jpeg$",$image)) die("ERROR: doesn't appear to be a JPeg image!"); --Joe On Fri, Nov 16, 2001 at 09:45:07PM -0500, jtjohnston wrote: > OK kids, I'm not 19 ... my old brain gets tired easily and my wife is > complaining that I stay up too late PHPing :) >

RE: [PHP] alzheimers and confused

2001-11-17 Thread Robert Klinkenberg
rrectly test if it's either jpg or jpeg. Robert Klinkenberg -Oorspronkelijk bericht- Van: jtjohnston [mailto:[EMAIL PROTECTED]] Verzonden: Saturday, November 17, 2001 3:45 AM Aan: [EMAIL PROTECTED] Onderwerp: [PHP] alzheimers and confused OK kids, I'm not 19 ... my old brain gets

[PHP] alzheimers and confused

2001-11-16 Thread jtjohnston
OK kids, I'm not 19 ... my old brain gets tired easily and my wife is complaining that I stay up too late PHPing :) Putting the rest aside, why does AND work and not OR. OR was what I meant? I meant ... if the string doesn't contain .jpg or the string doesn't contain .jpeg ... > ERROR! John http