Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (!empty($_FILES['FOTO']['tmp_name']) and is_file($_FILES['FOTO']['tmp_name'])) {
- $caminho = "foto/" . md5('His') '.' . substr($_FILES['FOTO']['name'], -4);
- copy($_FILES['FOTO']['tmp_name'],$caminho);
- }
Add Comment
Please, Sign In to add comment