I want to check if an uploaded file is an image. This isn't working. Could anyone help me out? if (!eregi("\\.gif$", $img1_name) || !eregi("\\.jpg$", $img1_name) || !eregi("\\.jpeg$", $img1_name)) { error message } Jeff Oien -- 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] Re: Eregi for Image Jeff Oien
- [PHP] Re: Eregi for Image jimw
- Re: [PHP] Re: Eregi for Image Chris Lambert
- Re: [PHP] Eregi for Image Daniel Rezny