et Fri Aug 22 06:49:26 2003 EDT
Modified files:
/phpdoc/en/reference/curl/functions curl-exec.xml
Log:
changed return-type to mixed
removed note about outcontrol
added instructions how to return the result instead of printing it
Index: phpdoc/en/reference/curl/functions/curl-exec.xml
diff -u phpdoc/en/reference/curl/functions/curl-exec.xml:1.3
phpdoc/en/reference/curl/functions/curl-exec.xml:1.4
--- phpdoc/en/reference/curl/functions/curl-exec.xml:1.3 Sat Jun 15 04:41:36
2002
+++ phpdoc/en/reference/curl/functions/curl-exec.xml Fri Aug 22 06:49:26 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/curl.xml, last change in rev 1.1 -->
<refentry id="function.curl-exec">
<refnamediv>
@@ -9,7 +9,7 @@
<refsect1>
<title>Description</title>
<methodsynopsis>
- <type>bool</type><methodname>curl_exec</methodname>
+ <type>mixed</type><methodname>curl_exec</methodname>
<methodparam><type>resource</type><parameter>ch</parameter></methodparam>
</methodsynopsis>
<para>
@@ -18,7 +18,13 @@
is simply to execute the predefined CURL session (given by the
<parameter>ch</parameter>).
</para>
- &tip.ob-capture;
+ <note>
+ <para>
+ If you want to have the result returned instead of it being printed to the
+ browser directly, use the CURLOPT_RETURNTRANSFER option of
+ <function>curl_setopt</function>.
+ </para>
+ </note>
</refsect1>
</refentry>