Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
NewsReader42
· 12y ago · 0 comments
You should also check the size of the image to make sure it's actually an image. I can quite easily get a php file into your system using your current way as you ONLY check for extension.
Comments
[–]
NewsReader42
OP
12y ago
By size I mean dimensions.