|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19191 file() doesn't work
Submitted: 2002-08-30 04:07 UTC Modified: 2002-09-23 08:00 UTC
Avg. Score:4.0 ± 1.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: wrksti at software-ag dot de Assigned:
Status: No Feedback Package: Filesystem function related
PHP Version: 4.1.2 OS: Win2000
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 — but make sure to vote on the bug!
Your email address:
Solve the problem:
15 + 21 = ?
Subscribe to this entry?

 [2002-08-30 04:07 UTC] wrksti at software-ag dot de

I used file() function at the moment, and i realized that, file(<url>) tries to connect and open the <url>, and than reads it .
But these warning came out
"Warning: php_hostconnect: connect ".

And I have tried direct the <url> is ok.
I think file() can't  connect to all urladdress, just some of it.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-30 04:08 UTC]
Please try using this CVS snapshot:
For Windows:

This is most likely fixed...
 [2002-09-23 08:00 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

 [2002-11-28 08:31 UTC] pfister at avenir dot de
Good afternoon,

i've got the same problem, but it appeared for the first time this afternoon. The time before it worked perfectly. I haven't changed the configuration or anything else. What can i do, the URL i tried to open exists.

Please reply

Greetings from Germany

Philipp Pfister
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sat Jul 20 18:01:25 2019 UTC