./inc/functions_upload.php
if(!preg_match("#^(gif|jpg|jpeg|jpe|bmp|png)$#i", $ext))
if(!preg_match("#^(gif)$#i", $ext))