curl-and-php
Re: cURL Question
Date: Mon, 04 Oct 2004 11:09:37 -0400
What about using an exec() call to kick off a curl background process? It
would only be an option on unix systems, I suppose.
Kirk
At 08:33 AM 10/4/2004, you wrote:
>On Mon, 4 Oct 2004, Willy Jaramillo wrote:
>
>>I was wondering if there is a way to do an asynchronous post using cURL.
>
>1. cURL is the name of the project that develops curl and libcurl.
>
>2. curl is the name of the command line tool.
>
>3. PHP/CURL is the name (I use) of the PHP binding for libcurl until a better
> pop up.
>
>I assume you're talking about (3) here.
>
>>I don't want my script to wait for something to return. In other words,
>>once it reaches the curl_exec($ch) line, I want my code to continue
>>running without waiting for something to be returned.
>
>That would be possible if PHP allowed you to start a background
>process/thread or similar. But I don't think it does.
>
>--
> Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
> Dedicated custom curl help for hire: http://haxx.se/curl.html
>
Received on 2004-10-04