Guest User

Untitled

a guest
May 16th, 2018
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.21 KB | None | 0 0
  1. if (!empty($_FILES['FOTO']['tmp_name']) and is_file($_FILES['FOTO']['tmp_name'])) {
  2.     $caminho = "foto/" . md5('His') '.' . substr($_FILES['FOTO']['name'], -4);
  3.     copy($_FILES['FOTO']['tmp_name'],$caminho);
  4. }
Add Comment
Please, Sign In to add comment