Guest User

Untitled

a guest
Apr 24th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.15 KB | None | 0 0
  1. <?php
  2.     $tipos = array("image/jpeg", "image/pjpeg", "image/gif", "image/png", "image/bmp");
  3.  
  4.     if(!in_array($type, $tipos))
  5.         echo "Tipo inválido";
  6. ?>
Add Comment
Please, Sign In to add comment