Re: cvs: phpdoc /en/functions curl.xml

From: Date: Thu, 28 Mar 2002 13:33:07 +0000
Subject: Re: cvs: phpdoc /en/functions curl.xml
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969343667@lists.php.net to get a copy of this message
On Thu, 28 Mar 2002, Simone Cortesi wrote: > cortesi Thu Mar 28 08:34:22 2002 EDT > > Modified files: > /phpdoc/en/functions curl.xml > Log: > changing as per RFC 2606 Just curious... what is RFC 2606? Derick > > Index: phpdoc/en/functions/curl.xml > diff -u phpdoc/en/functions/curl.xml:1.30 phpdoc/en/functions/curl.xml:1.31 > --- phpdoc/en/functions/curl.xml:1.30 Thu Mar 28 08:14:31 2002 > +++ phpdoc/en/functions/curl.xml Thu Mar 28 08:34:22 2002 > @@ -1,5 +1,5 @@ > <?xml version="1.0" encoding="iso-8859-1"?> > -<!-- $Revision: 1.30 $ --> > +<!-- $Revision: 1.31 $ --> > <reference id="ref.curl"> > <title>CURL, Client URL Library Functions</title> > <titleabbrev>CURL</titleabbrev> > @@ -48,8 +48,8 @@ > <![CDATA[ > <?php > > -$ch = curl_init ("http://www.php.net/"); > -$fp = fopen ("php_homepage.txt", "w"); > +$ch = curl_init ("http://www.example.com/"); > +$fp = fopen ("example_homepage.txt", "w"); > > curl_setopt ($ch, CURLOPT_FILE, $fp); > curl_setopt ($ch, CURLOPT_HEADER, 0); > @@ -93,7 +93,7 @@ > <?php > $ch = curl_init(); > > -curl_setopt ($ch, CURLOPT_URL, > "http://www.zend.com/"); > +curl_setopt ($ch, CURLOPT_URL, > "http://www.example.com/"); > curl_setopt ($ch, CURLOPT_HEADER, 0); > > curl_exec ($ch); > > ----------------------------------------------------------------------- PHP: Scripting the Web - derick@php.net All your branches are belong to me! SRM: Script Running Machine - www.vl-srm.net -----------------------------------------------------------------------

« previous php.doc (#969343667) next »