Re: Re: PHP 4.0 Bug #6158 Updated: CURL isn't supported but docoumentated as being so?
| From: | Sterling Hughes | Date: | Tue, 15 Aug 2000 17:07:48 +0000 |
| Subject: | Re: Re: PHP 4.0 Bug #6158 Updated: CURL isn't supported but docoumentated as being so? | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-29013@lists.php.net to get a copy of this message | ||
> At 03:13 AM 8/15/2000 +0000, you wrote:
> >ID: 6158
> >Updated by: mrobinso
> >Reported By: sysadmin@alphalink.com.au
> >Status: Closed
> >Bug Type: Installation problem
> >Assigned To:
> >Comments:
> >
> >Actually, there is a bit of a gap sometimes between
> >software releases and manual updates.
> >
> >Each of the curl function references are marked
> >'CVS Only', this just doesn't appear in the
> >curl intro.
> >
> >In the meantime, you can grab a snapshot from
> >snaps.php.net, it works fine. It will be in the
> >upcoming 4.0.2 release.
>
> Ok i grabbed the snapshot and got it all compiled and working with
> apache-ssl, except the following code doesn't work:
>
> <?php
> $ch = curl_init ("http://www.php.net/");
> curl_exec ($ch);
> curl_close ($ch);
> ?>
>
> from what i understand the above should run off and download
> http://www.php.net/ and display it.. nothing is returned to
> STDOUT, if you
> set a fp and get curl to write to that it works fine.. even if you set
> CURLOPT_URL it still doesn't write to STDOUT..
>
> i've made the php use a system call to the curl binary for the meantime
but
> i thought i might let you guys know so it WILL work in 4.0.2-sta =)
It should work now.
Sterling