Re: cvs: phpdoc /en/reference/http/functions header.xml
| From: | Gabor Hojtsy | Date: | Fri, 03 Jan 2003 19:39:01 +0000 |
| Subject: | Re: cvs: phpdoc /en/reference/http/functions header.xml | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969350607@lists.php.net to get a copy of this message | ||
> <![CDATA[
> +<html>
> <?php
> -echo ' ';
> -header ("Content-type: audio/x-pn-realaudio"); ?>
> +header ("Content-type: audio/x-pn-realaudio");
> +?>
> // Broken, note the echo ' ' above
> ]]>
Well, I have included a correct example in my bug report to add.
The "corrected" example above is far not correct, because:
1. You never add that content-type after echoing out some HTML.
This is why I added a Location header, which some people do
try to add after the HTML code, and it is much more common then
specifying x-px-realaudio...
2. The comment is out of the PHP code block, and is not valid anymore.
Please really correct that example.
Thanks,
Goba