Hi, Newbie question here. I'm trying to write a function to check an image
extension, part of the code is:

if (substr($imgName, -4) != ".jpg")

my question is what's the syntax for adding (or) ".gif" to this?

TIA

@lvin






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