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]
- Re: [PHP] checking image extensions Alvin Tan
- Re: [PHP] checking image extensions John Vanderbeck
- Re: [PHP] checking image extensions Hrishi
- RE: [PHP] checking image extensions ..s.c.o.t.t..