PHP Installation
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Installation

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old October 19th, 2002, 08:22 PM
chvol chvol is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Cambridge, MA USA
Posts: 12 chvol User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old October 21st, 2002, 12:03 AM
Matt Matt is offline
Moderator
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 10 m 23 sec
Reputation Power: 6
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

Reply With Quote
  #3  
Old October 21st, 2002, 12:39 AM
chvol chvol is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Cambridge, MA USA
Posts: 12 chvol User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #4  
Old October 21st, 2002, 01:16 AM
Matt Matt is offline
Moderator
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 10 m 23 sec
Reputation Power: 6
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.

Reply With Quote
  #5  
Old October 29th, 2002, 03:22 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
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

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > SNOOPY Timeout


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five &quot;checkpoints&quot; for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway