Re: cvs: phpdoc /en/reference/http/functions header.xml

From: Date: Fri, 03 Jan 2003 21:04:02 +0000
Subject: Re: cvs: phpdoc /en/reference/http/functions header.xml
References: 1 2 3 4 5  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969350635@lists.php.net to get a copy of this message
> 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 ;) Goba

« previous php.doc (#969350635) next »