|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19968 fget() and fgets() stalls
Submitted: 2002-10-17 21:36 UTC Modified: 2002-10-18 12:55 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: pickleman78 at sbcglobal dot net Assigned:
Status: Not a bug Package: Sockets related
PHP Version: 4.2.3 OS: Windows ME
Private report: No CVE-ID: None
 [2002-10-17 21:36 UTC] pickleman78 at sbcglobal dot net
I saw this bug, but a solution was never shown.
Shows this and I have no idea what is going on. I am saving the value of fget() in a variable, and it hangs, after it hangs for a while then it continues with the execution, but no value is ever returned. I am totally lost, why would it not store anything, or return anything? Any insights?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-17 22:04 UTC]
Please try using this CVS snapshot:
For Windows:
 [2002-10-17 23:08 UTC] pickleman78 at sbcglobal dot net
That didn't help at all... Any other thoughts?
 [2002-10-17 23:45 UTC]
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

It's most likely an error in your script.
Have you tried using socket_set_timeout?
Have you got a simple script that reproduces the problem?

Please try the support forums, and they are unable to help, re-open this report.
 [2002-10-18 12:55 UTC]
Wez fixed one similar problem in CVS, but this works fine with 4.2.3. So it's your script that has some problem.

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue May 24 03:05:44 2022 UTC