|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10566 don't work properly fopen
Submitted: 2001-04-30 17:11 UTC Modified: 2002-06-02 13:37 UTC
Avg. Score:3.7 ± 1.2
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:2 (100.0%)
From: erick at citmatel dot inf dot cu Assigned:
Status: Not a bug Package: Filesystem function related
PHP Version: 4.0.4pl1 OS: Windows NT/ Unix FreeBSD
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
46 + 7 = ?
Subscribe to this entry?

 [2001-04-30 17:11 UTC] erick at citmatel dot inf dot cu
this scrip don't work properly:
(only the first time, that's ok)

this the warning:

Warning: File already exists in on line 1

Warning: fopen("ftp://...@localhost/administrador/","w") - File exists in on line 1

Warning: Supplied argument is not a valid File-Handle resource in on line 2

Warning: Supplied argument is not a valid File-Handle resource in on line 97


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-01 02:02 UTC]
I can reproduce this on Linux too.
If file exists in ftp, you can not overwrite it or
add to it.


 [2002-06-02 13:37 UTC]
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

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.

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sun Sep 25 07:05:51 2022 UTC