#35741 [Fbk->Opn]: problema con function COPY

From: Date: Tue, 20 Dec 2005 08:51:24 +0000
Subject: #35741 [Fbk->Opn]: problema con function COPY
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-90700@lists.php.net to get a copy of this message
ID: 35741 User updated by: egarcia at jig dot es Reported By: egarcia at jig dot es -Status: Feedback +Status: Open Bug Type: *Directory/Filesystem functions Operating System: Windows XP/2000 PHP Version: 5.1.1 New Comment: Good morning: I have updated the PHP of my server to version 5.1.1. Everything goes well until now unless I cannot enclose a file (an image in this particular case) to the server through a form. The error that it gives is: Warning: copy(c:\\maps\\tumbs\\mapsys.jpg) [ function.copy ]: failed to open stream: Such does not case out or directory in c:\phpscripts\mapcdr.php on line 366... This happens whenever it becomes from any computer towards the server. The peculiar thing, is that this does not happen if is made directly in the own server (localhost). Help me what is the problem and its possible solution. Thank you very much by its aid. Previous Comments: ------------------------------------------------------------------------ [2005-12-20 09:41:14] derick@php.net Please only file bugreports in English. Can you translate? ------------------------------------------------------------------------ [2005-12-20 09:34:54] egarcia at jig dot es Description: ------------ Buenos días: He actualizado el PHP de mi servidor a la versión 5.1.1. Todo va bien hasta ahora salvo que no puedo adjuntar un archivo (una imagen en este caso particular) al server a través de un formulario. El error que da es: Warning: copy(c:\\maps\\tumbs\\mapsys.jpg) [function.copy]: failed to open stream: No such file or directory in c:\phpscripts\mapcdr.php on line 366 ... Esto ocurre siempre que se hace desde cualquier ordenador hacia el servidor. Lo curioso, es que esto no pasa si se hace directamente en el propio servidor (localhost). Indíquenme cual es el problema y su posible solución. Muchas gracias por su ayuda. Reproduce code: --------------- copy($imagen,"../imagenproductos/".$nombre_img); ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35741&edit=1

« previous php.bugs (#90700) next »