Bug #10566: don't work properly fopen
| From: | erick at citmatel dot inf dot cu | Date: | Mon, 30 Apr 2001 21:11:25 +0000 |
| Subject: | Bug #10566: don't work properly fopen | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-53128@lists.php.net to get a copy of this message | ||
From: erick@citmatel.inf.cu
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@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 Bug report at: http://bugs.php.net/?id=10566&edit=1