Re: cvs: phpdoc /en/reference/http/functions header.xml
| From: | Philip Olson | Date: | Fri, 03 Jan 2003 21:18:56 +0000 |
| Subject: | Re: cvs: phpdoc /en/reference/http/functions header.xml | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969350639@lists.php.net to get a copy of this message | ||
On Fri, 3 Jan 2003, Gabor Hojtsy wrote:
> > Ok, just to check, this should be ok, right?
> >
> > <![CDATA[
> > <html>
> > <?php
> > header('Location: http://www.redirected.com/');
> > // This will give a 'headers already sent' error.
> > // Note the output above, which is before
> > // the header() call.
> > ?>
> > ]]>
>
> :)) I have put the comment before the function call because
> the wording points to the future. Now the comment is after
> the code, so it does not look beautiful that it uses wording
> which points to the future...
>
> Well, I think this will be the most thought out example in
> the documentation ;))
>
> Actually there is no technical problem in the example, just
> this small grammatical one ;)
Also example.com is always used for examples. Anyway,
someone else already modified this so this topic is
closed :)
Regards,
Philip