Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15955 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83745 invoked by uid 1010); 13 Apr 2005 13:16:22 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 83729 invoked from network); 13 Apr 2005 13:16:22 -0000 Received: from unknown (HELO pb1.pair.com) (127.0.0.1) by localhost with SMTP; 13 Apr 2005 13:16:22 -0000 X-Host-Fingerprint: 80.237.132.12 wp005.webpack.hosteurope.de Linux 2.5 (sometimes 2.4) (4) Received: from ([80.237.132.12:47975] helo=wp005.webpack.hosteurope.de) by pb1.pair.com (ecelerity HEAD r(5268)) with SMTP id C3/4A-12569-5AB1D524 for ; Wed, 13 Apr 2005 09:16:21 -0400 Message-ID: Received: by wp005.webpack.hosteurope.de running Exim 4.43 using esmtpa from dsl-082-083-207-165.arcor-ip.net ([82.83.207.165] helo=WOMBERT) id 1DLhj2-0006jH-TH; Wed, 13 Apr 2005 15:16:13 +0200 To: "'Ryan Hemelaar'" , Date: Wed, 13 Apr 2005 15:16:06 +0200 Organization: bitXtender GbR MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <20050413130424.64140.qmail@lists.php.net> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcVAKVtUMJok/HsvSDezadjvbX89QAAAYGFg Subject: RE: [PHP-DEV] Suggestion: If URL Loads Initially, then stop From: dz@bitxtender.com (=?iso-8859-1?Q?David_Z=FClke?=) References: <20050413130424.64140.qmail@lists.php.net> http://www.php.net/manual/en/function.get-headers.php - David > -----Original Message----- > From: Ryan Hemelaar [mailto:ryan@royalfoods.com.au] > Sent: Wednesday, April 13, 2005 2:55 PM > To: internals@lists.php.net > Subject: [PHP-DEV] Suggestion: If URL Loads Initially, then stop > > Hi there, > > I don't know if this is the place to do it, but anyway. I have a > suggestion > for a new function that PHP could have: > > 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, it > will stop it before it's finished; then it would set the variable in the > function's brackets as true. eg: Functname($URL;$trueorfalse). > > This could be used to check if a site is up without having to download the > whole page. > > Regards, > > > Ryan > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >