Ver original$subdividir = pathinfo( $_FILES['foto']['name'] );$name = substr($subdividir['basename'], 0, -3);