preg_match for case insensitive search

by Ramya 2012-12-10 12:39:50

use case insensitive search using php preg_match
if(preg_match("/(\.gif|\.jpg|\.png)$/i", $getImg)) {
return "Image";
}
960
like
0
dislike
0
mail
flag

You must LOGIN to add comments