Created
August 7, 2019 16:18
-
-
Save parzibyte/5463a8fbedf41cb6a6760a9b5ac4393f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$archivo = $_FILES["archivo"]; | |
$resultado = move_uploaded_file($archivo["tmp_name"], $archivo["name"]); | |
if ($resultado) { | |
echo "Subido con éxito"; | |
} else { | |
echo "Error al subir archivo"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment