For Programmers: Free Programming Magazines  


Home > Archive > PHP PEAR Questions and Answers > September 2005 > Re: [PEAR-QA] \n after ?> CS Stupid?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR-QA] \n after ?> CS Stupid?
Daniel Convissor

2005-09-18, 6:56 pm

Hi:

On Sun, Sep 18, 2005 at 01:42:13PM -0400, Davey Shafik wrote:
>
> If we mandate that all files should have a single \n after the closing
> ?> we run the risk of people including PEAR stuff before doing headers
> stuff and running into Headers already sent errors.


That's just not true. If the user puts two \n's, then you run into the
issue.

--Dan

--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com