Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: checking file types in a perl upload script

by kwoff (Friar)
on Feb 16, 2002 at 08:24 UTC ( #145824=note: print w/replies, xml ) Need Help??


in reply to checking file types in a perl upload script

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.

  • Comment on Re: checking file types in a perl upload script

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://145824]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2022-12-10 08:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?