#10566 [Com]: don't work properly fopen
| From: | picture-free1358 at hotmail dot com | Date: | Tue, 20 Jul 2004 15:01:55 +0000 |
| Subject: | #10566 [Com]: don't work properly fopen | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-62829@lists.php.net to get a copy of this message | ||
ID: 10566
Comment by: picture-free1358 at hotmail dot com
Reported By: erick at citmatel dot inf dot cu
Status: Bogus
Bug Type: Filesystem function related
Operating System: Windows NT/ Unix FreeBSD
PHP Version: 4.0.4pl1
New Comment:
<a href=http://hq-legsfisting-guid.da.ru>picture
free</a>
Previous Comments:
------------------------------------------------------------------------
[2002-06-02 13:37:46] derick@php.net
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.
------------------------------------------------------------------------
[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 at citmatel dot inf dot 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