Hey!
I use the following to insert a JPEG into a blob field:
db.Blob(self.request.get("imgFile"))
How can I check if "imgFile" is a JPEG?
I dont want to let people upload EXEs, etc.
Thank
Joel
Hey!
I use the following to insert a JPEG into a blob field:
db.Blob(self.request.get("imgFile"))
How can I check if "imgFile" is a JPEG?
I dont want to let people upload EXEs, etc.
Thank
Joel