Re: Cheap Ping

From: Date: Fri, 13 Apr 2007 05:28:26 +0000
Subject: Re: Cheap Ping
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-252823@lists.php.net to get a copy of this message
Jim Lucas writes:
Is there some way I can set a shorter limit?
http://us.php.net/manual/en/function.stream-set-timeout.php
As far as I can tell I can only use that if I have a stream resource available. Presumably file_get_contents() creates and uses a stream but its resource is not accessible to me, is it? I could write my own file_get_contents() using lower level functions so I would have access to the stream resource used. But I was trying to keep it simple, if I can. Best, Craig ------------------------------------------------------
-     Virtual Phonecards - Instant Pin by Email      -
-           Large Selection - Great Rates            -
-     http://speedypin.com/?aff=743&co_branded=1     -
------------------------------------------------------ 
**************************************
*                                    *
*          Craig Spencer             *
*      ccspencer@SoftHome.net        *
*                                    *
************************************** 


« previous php.general (#252823) next »