Bug #10566 Updated: don't work properly fopen

From: Date: Sun, 02 Jun 2002 17:37:47 +0000
Subject: Bug #10566 Updated: don't work properly fopen
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-9169@lists.php.net to get a copy of this message
ID: 10566 Updated by: derick@php.net Reported By: erick@citmatel.inf.cu -Status: Analyzed +Status: Bogus Bug Type: Filesystem function related Operating System: Windows NT/ Unix FreeBSD PHP Version: 4.0.4pl1 New Comment: Thank you for taking the time to report a problem with PHP. Unfortunately your version of PHP is too old -- the problem might already be fixed. Please download a new PHP version from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. Previous Comments: ------------------------------------------------------------------------ [2001-05-01 02:02:46] sniper@php.net I can reproduce this on Linux too. If file exists in ftp, you can not overwrite it or add to it. --Jani ------------------------------------------------------------------------ [2001-04-30 17:11:25] erick@citmatel.inf.cu this scrip don't work properly: (only the first time, that's ok) <? $file=fopen("ftp://usr:pass@localhost/administrador/servicios5.inc","w"); fputs($file,"Algo"); fclose($file); ?> this the warning: Warning: File already exists in generaservicios.inc on line 1 Warning: fopen("ftp://...@localhost/administrador/servicios5.inc","w") - File exists in generaservicios.inc on line 1 Warning: Supplied argument is not a valid File-Handle resource in generaservicios.inc on line 2 Warning: Supplied argument is not a valid File-Handle resource in generaservicios.inc on line 97 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=10566&edit=1

« previous php.bugs (#9169) next »