|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
SNOOPY Timeout
Hello all,
I am running Windows 98, Apache 1.3.14 webserver, PHP 4.0.5 from PHP Triad and using class SNOOPY 0.94 (written in PHP) functions fetch and fetchlinks to retrieve web pages. The program hangs at some pages and I want it to time out, so I changed 0 to 10 in line: var $read_timeout = 10; // timeout on read operations, in seconds. My program gets: Warning: socket_set_timeout() is not supported in this PHP build in C:apachehtdocssnoopy.class.inc on line 740. Line 740 is: socket_set_timeout($fp, $this->read_timeout); Now functions fetch and fetchlinks don’t retrieve anything. Charlie chvol@aol.com |
|
#2
|
|||
|
|||
|
RE: SNOOPY Timeout
This is a known problem in earlier versions of PHP. If you upgrade to the latest release, your problems should go away. See this bug report:
http://bugs.php.net/bug.php?id=16326 |
|
#3
|
|||
|
|||
|
RE: SNOOPY Timeout
Hello,
I am trying to reply to the 2nd message here. Unfortunately, this page lists "Reply to : SNOOPY Timeout" while the 2nd message subject is "RE: SNOOPY Timeout" and there's no REPLY there. Now, maybe it means that you are replying to this whole thread and so new messgaes go onto the end and you're really replying to the last message in the thread. I don't know - but I am completely used to such nonsense since the design of most things associated with computers is incredibly poor, so I shouldn't be surprised. Speaking of which, another common strange activity associated with computers is the practice of telling people "Do XYZ" but never telling them how. In this case, it's "Upgrade to the latest release." - which supposedly I just did 2 days ago. Can you do me a real big favor and tell me why you would say to do something but not say how? Charlie |
|
#4
|
|||
|
|||
|
RE: SNOOPY Timeout
Charlie,
You state in your first post that you are using PHP 4.0.5. A cursory check of php.net would tell you that it is not the most recent version. As for why I did not tell you how to upgrade to the latest version, I figured if you needed to know you would either 1) do a little research or 2) ASK. We've been through this before Charlie. The last time you got all bent out of shape because I asked you to be a little more specific in your request. This time you are bent out of shape because I didn't give you all the information you deemed necessary. I am not a mind reader. I can't determine what your every whim is and at what level you are in PHP. Please, if you have problems myself and others are more than willing to help out, but you need to drop the attitude. |
|
#5
|
|||
|
|||
|
RE: SNOOPY Timeout
You didn't say PHP.NET! No, I'm not bent out of shape. I'm just someone with a lot of ideas on how this planet can be improved - and some other people "get bent out of shape" when I make suggestions. You know, Type A and Type B personalities.
Charlie |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > SNOOPY Timeout |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|
|