Andrew Kirilenko wrote:

> Oops. Forgot about 0 return ;(

Which means ???
They both work for me, yeah? No?

This tells me that the user made a boo boo:

 if((strpos($yourimage, "\.jpg") !== false) || (strpos($yourimage, "\.jpeg")
!== false))

So what does this do?

if((!strpos($yourimage, ".jpg")) || (!strpos($yourimage, ".jpeg")))


J

>
> > -----Original Message-----
> > From: Martin Thoma [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, November 16, 2001 9:42 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [PHP] Re: strpos
> >
> >
> > > if (!strpos(...))
> > > will be better...
> >
> > Why?
> >
> >
> >
> > --
> > 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]
> >


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

Reply via email to