3 ms·
So, what you're saying is, if the type isn't a gif OR if it isn't a jpeg, reject. The problem is that every picture isn't a gif or isn't a jpeg. jpeg images wil
by streblo 19y ago
So, what you're saying is, if the type isn't a gif OR if it isn't a jpeg, reject. The problem is that every picture isn't a gif or isn't a jpeg. jpeg images will be rejected because they aren't gifs, and gifs will be rejected because they aren't jpegs. You need to do what pmorici said and change this to an 'and' statement, or negate the entire statement you already have.