svn: /phpdoc/de/trunk/reference/curl/functions/ curl-error.xml
[email protected] (Daniel Jaenecke)
| Newsgroups | php.doc.de |
|---|---|
| Message-ID | <[email protected]> |
jaenecke Thu, 22 Apr 2010 11:20:44 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=298310
Log:
sync to en
Changed paths:
U phpdoc/de/trunk/reference/curl/functions/curl-error.xml
Modified: phpdoc/de/trunk/reference/curl/functions/curl-error.xml
===================================================================
--- phpdoc/de/trunk/reference/curl/functions/curl-error.xml 2010-04-22 11:17:43 UTC (rev 298309)
+++ phpdoc/de/trunk/reference/curl/functions/curl-error.xml 2010-04-22 11:20:44 UTC (rev 298310)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 288721 Maintainer: jaenecke Status: ready -->
+<!-- EN-Revision: 297028 Maintainer: jaenecke Status: ready -->
<!-- Rev-Revision: 1.10 Reviewer: sammywg -->
<refentry xml:id='function.curl-error' xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -19,7 +19,7 @@
Gibt eine Fehlermeldung in Klartext für die letzte cURL-Operation zurück.
</para>
</refsect1>
-
+
<refsect1 role="parameters">
&reftitle.parameters;
<para>
@@ -28,7 +28,7 @@
</variablelist>
</para>
</refsect1>
-
+
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
@@ -36,7 +36,7 @@
<literal>''</literal> (den leeren String) zurück.
</para>
</refsect1>
-
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -45,11 +45,10 @@
<programlisting role="php">
<![CDATA[
<?php
-
// Eine cURL-Ressource für ein nicht existierendes Ziel erstellen
$ch = curl_init('http://404.php.net/');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
-
+
if(curl_exec($ch) === false)
{
echo 'Curl-Fehler: ' . curl_error($ch);
@@ -58,7 +57,7 @@
{
echo 'Operation ohne Fehler vollständig ausgeführt';
}
-
+
// Ressource schließen
curl_close($ch);
?>
@@ -77,10 +76,9 @@
</simplelist>
</para>
</refsect1>
-
+
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml