cvs: peardoc /en/package/http/http-download setresource.xml
| From: | Michael Wallner | Date: | Mon, 19 Jul 2004 18:58:43 +0000 |
| Subject: | cvs: peardoc /en/package/http/http-download setresource.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-4618@lists.php.net to get a copy of this message | ||
mike Mon Jul 19 14:58:43 2004 EDT
Modified files:
/peardoc/en/package/http/http-download setresource.xml
Log:
* add note about database blob resources
http://cvs.php.net/diff.php/peardoc/en/package/http/http-download/setresource.xml?r1=1.4&r2=1.5&ty=u
Index: peardoc/en/package/http/http-download/setresource.xml
diff -u peardoc/en/package/http/http-download/setresource.xml:1.4
peardoc/en/package/http/http-download/setresource.xml:1.5
--- peardoc/en/package/http/http-download/setresource.xml:1.4 Sat Mar 20 12:38:16 2004
+++ peardoc/en/package/http/http-download/setresource.xml Mon Jul 19 14:58:43 2004
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<refentry id="package.http.http-download.setresource">
<refnamediv>
<refname><function>HTTP_Download::setResource</function></refname>
@@ -31,6 +31,11 @@
</para>
<para>
Set <varname>$handle</varname> to null if you want to unset.
+ </para>
+ <para>
+ NOTE: This cannot be used with resources of databases that populate their BLOBs as
+ resource handles like PostgresQL. A possible solution would be to write a <ulink
+ url="http://php.net/manual/en/function.stream-wrapper-register.php">stream
wrapper</ulink>.
</para>
<para>
Returns a PEAR_Error if <varname>$handle</varname>