svn: /phpdoc/ru/trunk/reference/curl/ examples.xml

[email protected] (Sergey Panteleev)
Newsgroups php.doc.ru
Message-ID <[email protected]>
sergey                                   Wed, 04 Dec 2019 13:30:46 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=348429

Log:
docs(ru): Updated to English revision

Changed paths:
    U   phpdoc/ru/trunk/reference/curl/examples.xml

Modified: phpdoc/ru/trunk/reference/curl/examples.xml
===================================================================
--- phpdoc/ru/trunk/reference/curl/examples.xml	2019-12-04 12:58:00 UTC (rev 348428)
+++ phpdoc/ru/trunk/reference/curl/examples.xml	2019-12-04 13:30:46 UTC (rev 348429)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 310851 Maintainer: shein Status: ready -->
-<!-- Reviewed: yes -->
+<!-- EN-Revision: 348426 Maintainer: shein Status: ready -->
+<!-- Reviewed: yes Maintainer: sergey -->
 <!-- $Revision$ -->

 <chapter xml:id="curl.examples" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -30,6 +30,9 @@
 curl_setopt($ch, CURLOPT_HEADER, 0);

 curl_exec($ch);
+if(curl_error($ch)) {
+    fwrite($fp, curl_error($ch));
+}
 curl_close($ch);
 fclose($fp);
 ?>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.