--- Gerard Samuel <[EMAIL PROTECTED]> wrote: > Most of the time, I edit files via the command line, (FBSD). When > the files are saved, it adds a \n (newline) character (at least I > believe that is what it is) after the closing ?> When viewing these > files in a windows GUI editor, there is an extra line after the ?> > closing tag. Using the php function headers_sent(), doesn't show that > there is any output being created by these extra lines after closing > ?> > > So is "white space" only physical space (\s) or can it be anything > like \t \r \n???
This is a feature/bug of PHP, depending on your perspective. When a closing ?> is followed by a newline, the newline is not output. Hope that helps. Chris ===== Chris Shiflett - http://shiflett.org/ PHP Security Handbook Coming mid-2004 HTTP Developer's Handbook http://httphandbook.org/ RAMP Training Courses http://www.nyphp.org/ramp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php