curl-library
Re: check internet connection with curl
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 24 Apr 2008 13:08:28 -0700
Date: Thu, 24 Apr 2008 13:08:28 -0700
On Thu, Apr 24, 2008 at 09:43:39PM +0200, Meir Yanovich wrote:
> no problem i guess .
> you mean just to make simple http post operation ?
> what will be the lightest curl operation to do , to determine if there
> is internet connection ?
If you're talking about HTTP, probably a HEAD request (CURLOPT_NOBODY).
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2008-04-24