Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15958 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59492 invoked by uid 1010); 14 Apr 2005 02:37:14 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 59439 invoked from network); 14 Apr 2005 02:37:14 -0000 Received: from unknown (HELO ambsd1.math.nctu.edu.tw) (127.0.0.1) by localhost with SMTP; 14 Apr 2005 02:37:14 -0000 X-Host-Fingerprint: 64.233.184.193 wproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.184.193:36347] helo=wproxy.gmail.com) by pb1.pair.com (ecelerity 1.2.12rc1 r(5476:5477)) with SMTP id E3/B3-46108-857DD524 for ; Wed, 13 Apr 2005 22:37:13 -0400 Received: by wproxy.gmail.com with SMTP id 49so450756wri for ; Wed, 13 Apr 2005 19:37:03 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jz0goPC5ykMA7BSTtVsRT/wUmKdPxBnQwbtBY3RBOxyP6HqU0dpqjJCybmpg76BFPxPI63wfA9ctYog21y0eGgQeqQKuWknnFBtVqgtozbEYtoIseuXH13fpKKx4ZlTCisSVSsow+pgm+BNSPxEdzfv7FQA+Y1P/2cdBd8qWDqU= Received: by 10.54.59.21 with SMTP id h21mr21984wra; Wed, 13 Apr 2005 19:37:03 -0700 (PDT) Received: by 10.54.20.56 with HTTP; Wed, 13 Apr 2005 19:36:23 -0700 (PDT) Message-ID: <28139bc05041319365d34202@mail.gmail.com> Date: Thu, 14 Apr 2005 10:36:24 +0800 Reply-To: Xuefer To: Ryan Hemelaar Cc: internals@lists.php.net In-Reply-To: <20050413130424.64140.qmail@lists.php.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050413130424.64140.qmail@lists.php.net> Subject: Re: [PHP-DEV] Suggestion: If URL Loads Initially, then stop From: xuefer@gmail.com (Xuefer) use HEAD request On 4/13/05, Ryan Hemelaar wrote: > Hi there, >=20 > I don't know if this is the place to do it, but anyway. I have a suggesti= on > for a new function that PHP could have: >=20 > It will be similar to fopen, but instead of actually loading the URL, it > starts loading the page, then once PHP knows that it's started loading, i= t > will stop it before it's finished; then it would set the variable in the > function's brackets as true. eg: Functname($URL;$trueorfalse). >=20 > This could be used to check if a site is up without having to download th= e > whole page. >=20 > Regards, >=20 > Ryan >=20 > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >=20 >