RE: [PHP-ES] PROBLEMA CON FOPEN, ayuda por favor....

From: Date: Thu, 09 Dec 2004 16:26:35 +0000
Subject: RE: [PHP-ES] PROBLEMA CON FOPEN, ayuda por favor....
References: 1  Groups: php.general.es 
Request: Send a blank email to general-es+get-52578@lists.php.net to get a copy of this message
Utiliza "a+", y si no quieres mostrar ese warning, podrias utilizar @ antes de la funcion, "@fopen()". Saludos. Esteban. -----Original Message----- From: Iker Landajuela [mailto:iker@inkoa.com] Sent: Jueves, 09 de Diciembre de 2004 8:27 To: php-es@lists.php.net Subject: [PHP-ES] PROBLEMA CON FOPEN, ayuda por favor.... Hola chic@s, estoy comenzando con la programacion en php y tengo un problema, quiero abrir un fichero a traves de ftp, si el fichero no existe lo crea correctamente, si vuelvo a acceder al mismo una vez creado me da un error: Warning: File already exists mi script: if(!($filehandle=fopen("ftp://user:pass@ftp.inkoa.com/html/BIOCAB/fichero.tx t,"a"))) { -- PHP Spanish Localization Talk Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general.es (#52578) next »