cvs: phpdoc-zh /reference/filesystem/functions fpassthru.xml
| From: | liuming | Date: | Tue, 16 Aug 2005 03:25:07 +0000 |
| Subject: | cvs: phpdoc-zh /reference/filesystem/functions fpassthru.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-2303@lists.php.net to get a copy of this message | ||
lm92 Mon Aug 15 23:25:07 2005 EDT
Modified files:
/phpdoc-zh/reference/filesystem/functions fpassthru.xml
Log:
updated to en version
http://cvs.php.net/diff.php/phpdoc-zh/reference/filesystem/functions/fpassthru.xml?r1=1.6&r2=1.7&ty=u
Index: phpdoc-zh/reference/filesystem/functions/fpassthru.xml
diff -u phpdoc-zh/reference/filesystem/functions/fpassthru.xml:1.6
phpdoc-zh/reference/filesystem/functions/fpassthru.xml:1.7
--- phpdoc-zh/reference/filesystem/functions/fpassthru.xml:1.6 Mon Aug 18 19:23:46 2003
+++ phpdoc-zh/reference/filesystem/functions/fpassthru.xml Mon Aug 15 23:25:05 2005
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.6 $ -->
-<!-- $Author: dallas $ -->
-<!-- EN-Revision: 1.6 Maintainer: dallas Status: ready -->
+<!-- $Revision: 1.7 $ -->
+<!-- $Author: lm92 $ -->
+<!-- EN-Revision: 1.9 Maintainer: dallas Status: ready -->
<!-- CREDITS: lm92 -->
<refentry id="function.fpassthru">
<refnamediv>
@@ -22,13 +22,10 @@
·ñÔò <function>fpassthru</function> ·µ»Ø´Ó
<parameter>handle</parameter>
¶ÁÈ¡²¢´«µÝµ½Êä³öµÄ×Ö·ûÊýÄ¿¡£
</simpara>
+ &fs.validfp.all
<simpara>
- ÎļþÖ¸Õë±ØÐëÓÐЧ£¬ÇÒ±ØÐëÖ¸ÏòÓÉ
- <function>fopen</function>£¬<function>popen</function> »ò
- <function>fsockopen</function> ³É¹¦´ò¿ªµÄÎļþ¡£
- Èç¹ûÒѾÏòÎļþдÈëÁËÊý¾Ý£¬¿ÉÄÜÐèÒªµ÷ÓÃ
<function>rewind</function>
- À´½«ÎļþÖ¸ÕëÖ¸ÏòÎļþÍ·¡£µ±
<function>fpassthru</function>
- Íê³É¶ÁÈ¡ºó¾Í»á¹Ø±ÕÎļþ£¨Ê¹ <parameter>handle</parameter>
ʧЧ£©¡£
+ Èç¹ûÒѾÏòÎļþдÈëÊý¾Ý£¬¾Í±ØÐëµ÷ÓÃ
<function>rewind</function>
+ À´½«ÎļþÖ¸ÕëÖ¸ÏòÎļþÍ·¡£
</simpara>
<simpara>
Èç¹û¼È²»ÐÞ¸ÄÎļþÒ²²»ÔÚÌØ¶¨Î»ÖüìË÷£¬Ö»Ï뽫ÎļþµÄÄÚÈÝÏÂÔØµ½Êä³ö»º³åÇø£¬Ó¦¸ÃʹÓÃ
@@ -63,7 +60,7 @@
// send the right headers
header("Content-Type: image/png");
-header("Content-Length: ".filesize($name));
+header("Content-Length: " . filesize($name));
// dump the picture and stop the script
fpassthru($fp);