summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
-rw-r--r--variablesPHP5.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/variablesPHP5.php b/variablesPHP5.php
index 73fc0f6..5c91d65 100644
--- a/variablesPHP5.php
+++ b/variablesPHP5.php
@@ -52,8 +52,8 @@
// Parche para que funcione la subida de archivos en PHP5
global $foto_name, $foto;
- $foto_name = $_FILES['foto']['name'];
- $foto = $_FILES['foto']['tmp_name'];
+ @$foto_name = $_FILES['foto']['name'];
+ @$foto = $_FILES['foto']['tmp_name'];
}