Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 wandering the Monastery: (5)
As of 2022-05-22 02:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (78 votes). Check out past polls.

    Notices?