Re: [PHP-DEV] Re: PHP 4.0 Bug #6158 Updated: CURL isn't supported but docoumentated as being so? From: Sterling Hughes (sterling <email protected>)
Date: 08/15/00

> At 03:13 AM 8/15/2000 +0000, you wrote:
> >ID: 6158
> >Updated by: mrobinso
> >Reported By: sysadmin <email protected>
> >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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>