Carolin Thie
Friday, July 15, 2011
How do I verify that a url leads to an image?
You could verify by checking that the file extension is an image file, such as checking the last 4 characters in the string (the URL) is .jpg or .gif or whatever extensions you want to allow. But this isn't a perfect system, just an easy one.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment