cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: apache+php402+curl crash

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 5 Sep 2000 11:12:51 +0200 (MET DST)

On Tue, 5 Sep 2000, Paul Harrington wrote:

> I've not really had much time to look at the PHP curl module.
>
> I use curl a fair bit for perl cgi's to open curl as a pipe and then use
> a while(<CURL>) to interate over the output. How do I do something
> similar in PHP. The curl module seems to either dump its output to
> STDOUT or to the file.

The curl module makes PHP get a set of "native" calls that very much resemble
those of libcurl (have a look in the PHP manual for details).

PHP has a defined internal way of dealing with files and I believe that the
curl module works just like other PHP stuff when it comes to those too.

Problems with the curl module in PHP is a logistic problem for me and the PHP
team, since we get bug reports on two ends that might be related to the
other's software. We're working on it.

Disclaimer: I'm not a PHP guy, I may have got it wrong!

-- 
      Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77
   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
Received on 2000-09-05