cvs: phpdoc /en/reference/http/functions headers-sent.xml

From: Date: Wed, 06 Nov 2002 16:19:55 +0000
Subject: cvs: phpdoc /en/reference/http/functions headers-sent.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969349437@lists.php.net to get a copy of this message
avenger Wed Nov 6 11:19:55 2002 EDT Modified files: /phpdoc/en/reference/http/functions headers-sent.xml Log: finished Index: phpdoc/en/reference/http/functions/headers-sent.xml diff -u phpdoc/en/reference/http/functions/headers-sent.xml:1.4 phpdoc/en/reference/http/functions/headers-sent.xml:1.5 --- phpdoc/en/reference/http/functions/headers-sent.xml:1.4 Tue Sep 17 08:44:11 2002 +++ phpdoc/en/reference/http/functions/headers-sent.xml Wed Nov 6 11:19:55 2002 @@ -1,39 +1,35 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/http.xml, last change in rev 1.7 --> <refentry id="function.headers-sent"> <refnamediv> <refname>headers_sent</refname> - <refpurpose>Returns &true; if headers have been sent</refpurpose> + <refpurpose>²âÊÔÍ·²¿ÐÅÏ¢ÊÇ·ñÒѾ­±»·¢ËÍ£¬Èç¹ûÊÇ£¬·µ»Ø &true;</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>ÃèÊö</title> <methodsynopsis> <type>bool</type><methodname>headers_sent</methodname> <methodparam><type>string</type><parameter>&amp;file</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>&amp;line</parameter></methodparam> </methodsynopsis> <para> - This function returns &true; if the HTTP headers have already been - sent, &false; otherwise. You can't add any more header lines using - the <function>header</function> function once the header block has - already been sent. Using this function you can at least prevent - getting the "Duplicate headers ..." error messages. + Õâ¸öº¯Êý²âÊԽű¾ÖÐÍ·²¿ÐÅÏ¢ÊÇ·ñÒѾ­·¢ËÍ£¬Èç¹ûÊÇÔò·µ»Ø &true; ·ñÔò·µ»Ø &false;¡£Ò»µ©Í·²¿ÐÅÏ¢ÒѾ­±»·¢ËÍ£¬Ä㽫²»ÄÜÔÙʹÓà <function>header</function> + º¯ÊýÀ´·¢ËÍÆäËüµÄÍ·²¿ÐÅÏ¢¡£Ê¹Óô˺¯Êý¿ÉÒÔʹÄã×î´óÏ޶ȵıÜÃâÀàËÆ "Duplicate headers ..." µÄ´íÎóÐÅÏ¢¡£ </para> <para> - The function will return the php source file and line number where - output started in the optional <parameter>file</parameter> and - <parameter>line</parameter> parameters if these are given. + Èç¹û¿ÉÏȲÎÊý <parameter>file</parameter> + ¼° <parameter>line</parameter> + ±»Ö¸¶¨£¬Ôòº¯Êý»á·µ»ØÖ¸¶¨ÎļþÖ¸¶¨ÐÐÊýÆðÍ·²¿ÐÅÏ¢µÄ·¢ËÍÇé¿ö¡£ </para> <note> <simpara> - <parameter>file</parameter> and <parameter>line</parameter> where - added for PHP 4.3.0. + <parameter>file</parameter> and <parameter>line</parameter> + ²ÎÊýÔÚ PHP 4.3.0 °æ±¾Öб»¼ÓÈë¡£ </simpara> </note> <para> - See also <function>header</function> for a more detailed discussion - of the matters involved. + ¸ü¶àϸ½ÚµÄÌÖÂ۲μû <function>header</function>¡£ </para> </refsect1> </refentry>

« previous php.doc (#969349437) next »