Re: php + mysql + copy file
| From: | Chris | Date: | Wed, 02 Apr 2008 23:21:50 +0000 |
| Subject: | Re: php + mysql + copy file | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-44857@lists.php.net to get a copy of this message | ||
It's $_FILES not $_FILE (an 's' on the end). It's always worth using error_reporting(E_ALL) and ini_set('display_errors', true) when doing development, this would have triggered a notice or warning (can't remember which). -- Postgresql & php tutorials http://www.designmagick.com/$carpeta = "subidos"; // nombre de la carpeta ya creada. chmool 777(todos los permisos)copy($_FILES['file']['tmp_name'] , $carpeta . '/' . $_FILE['file']['name']);