Upload images
$c1 = rand(0,9);$c2 = rand(0,9);$c3 = rand(0,9);$c4 = rand(0,9);
$rand = $c1.$c2.$c3.$c4;
$dir_path = "album/".$rand.$_FILES['upload1']['name'];
$dir_patha = $dir_path;
$file=$rand.$_FILES['upload1']['name'];
if(move_uploaded_file($_FILES['upload1']['tmp_name'],"../".$dir_path)){
$rand = $c1.$c2.$c3.$c4;
$dir_path = "album/".$rand.$_FILES['upload1']['name'];
$dir_patha = $dir_path;
$file=$rand.$_FILES['upload1']['name'];
if(move_uploaded_file($_FILES['upload1']['tmp_name'],"../".$dir_path)){