if you rename (file.php) to (file.jpg) and you want to upload it
drupal 6 image_field module can detect it and refuse uploading this file but image_field in drupal 7 can't detect it .
can you help me to find another module in drupal 7 can detect (REAL File type).
thank you
You are right, the Drupal 7 doesnt have mime-type validation
someone did patch it in this link : http://drupal.org/node/959800