#35741 [NEW]: problema con function COPY

From: Date: Tue, 20 Dec 2005 08:34:56 +0000
Subject: #35741 [NEW]: problema con function COPY
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-90697@lists.php.net to get a copy of this message
From:             egarcia at jig dot es
Operating system: Windows XP/2000
PHP version:      5.1.1
PHP Bug Type:     *Directory/Filesystem functions
Bug description:  problema con function COPY

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 bug report at http://bugs.php.net/?id=35741&edit=1
-- 
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=35741&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=35741&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=35741&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=35741&r=fixedcvs
Fixed in release:             http://bugs.php.net/fix.php?id=35741&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=35741&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=35741&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=35741&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=35741&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=35741&r=notwrong
Not enough info:              http://bugs.php.net/fix.php?id=35741&r=notenoughinfo
Submitted twice:              http://bugs.php.net/fix.php?id=35741&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=35741&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=35741&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=35741&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=35741&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=35741&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=35741&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=35741&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=35741&r=mysqlcfg


Thread (4 messages)

« previous php.bugs (#90697) next »