this works for .gif files.....
if (!eregi(".gif$", $file_name) { die("Only icon files with the extension .gif excepted....please try again"); }
how can i allow for more than 1 extension so .gif .jpg or .jpeg only are accepted?
.[gif|jpg|png]$
I think. I'm not that good with regex.
sorry wont work...
any other ideas!?
cheers for trying... Jim