cvs: phpdoc /en/functions curl.xml

From: Date: Thu, 28 Mar 2002 13:34:22 +0000
Subject: cvs: phpdoc /en/functions curl.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969343666@lists.php.net to get a copy of this message
cortesi Thu Mar 28 08:34:22 2002 EDT Modified files: /phpdoc/en/functions curl.xml Log: changing as per RFC 2606 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);

« previous php.doc (#969343666) next »