No such thing as a small change | |
PerlMonks |
Re: checking file types in a perl upload scriptby kwoff (Friar) |
on Feb 16, 2002 at 08:24 UTC ( [id://145824]=note: print w/replies, xml ) | Need Help?? |
I assume you don't mean to match filename on /.jpg$/.
If you read `perldoc -m Image::Size`, it shows what a JPEG header looks like.
In Section
Seekers of Perl Wisdom
|
|