Reply to sending pdf with "allowed = image/*"

sending pdf with "allowed = image/*"  new!
by up_and_downloader, 15 years ago
Hello,

this is my code :
$handle = new upload($_FILES['image_field']);
if ($handle->uploaded) {
  if ($handle ->file_src_mime== "image/jpeg" && $handle ->file_is_image== true )

Why is it possible to send pdf or microsoft Thumb.db files ?Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important