|
-
Mar 13th, 2003, 01:34 PM
#1
Thread Starter
Lively Member
Confirm Image
I have a uploading script and i need to make sure that it isnt a exe (or anythign other than an image) being uploaded. For example, virus.exe.jpg. I need someting that would filter things like that out.
<INPUT maxLength=128 name=image type=file ACCEPT="image/jpeg, image/jpg"> ..is what IS allowed.
Is there any way to confirm that the file being uploaded is either a valid image, or dosent contain an extra.exe.jpf in the filename?
Thanks ahead of time...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|