Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- getting a url with a mS timout in PHP < 5.2
- Ben Barker
October 23, 2011, 9:56 pm
rate this thread
timeout in the mS range, given that I am using php 5.1, and the cURL
mS timeout option did not becomeavailable until 5.2?
I have looked at using file_get contents, but whatever I try I don't
seem to be able to get the timeout below 1s. Quite a number of the
URLs I'm likely to try will be unavailable, but those that return
should do so very quickly indeed - so for the script to run as fast as
possibly I ideally need to find a way around this...
Re: getting a url with a mS timout in PHP < 5.2
1. Update your version of PHP.
2. Never expect ms response times consistently from a site. Too many
things can affect the response time.
Remove the "x" from my email address
JDS Computer Training Corp.