Posts by Luiz Antonio Giachini • 1 point
1 post
-
-1
votes4
answers1844
viewsA: Generate new name for image during upload - php
This code below takes the extensions and gives a new name keeping the original extension. $data = date("d-m-Y")."-"; $id = $_REQUEST['id']; $Fotos = $_FILES['file']; $Nome = $Fotos['name']; // Pega…