php.net |  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
Votes:1
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.
http://bugs.php.net/bug.php?id=14224
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?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-17 22:04 UTC] wez@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip
 [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] wez@php.net
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 http://www.php.net/support.php 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] sniper@php.net
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-2020 The PHP Group
All rights reserved.
Last updated: Sat Jan 25 05:01:24 2020 UTC