[PHP-DEV] Bug #10566: don't work properly fopen From: erick <email protected>
Date: 04/30/01

From: erick <email protected>
Operating system: Windows NT/ Unix FreeBSD
PHP version: 4.0.4pl1
PHP Bug Type: Filesystem function related
Bug description: don't work properly fopen

this scrip don't work properly:
(only the first time, that's ok)
<?
$file=fopen("ftp://usr:pass <email protected>/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://... <email protected>/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 Bug report at: http://bugs.php.net/?id=10566&edit=1

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>