in reply to CGI/MySQL and the vanishing \n
In order to help you, we're going to need to see the HTTP headers you send and any HTML that goes out before the file contents. Also, do the files contain plain text or HTML?
I would guess you are using content-type of text/html but are expecting newlines in the file to act as newlines in the browser. Newlines are treated as whitespace by the browser when viewing text/html content unless wrapped in PRE tags.
--- print map { my ($m)=1<<hex($_)&11?' ':''; $m.=substr('AHJPacehklnorstu',hex($_),1) } split //,'2fde0abe76c36c914586c';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: CGI/MySQL and the vanishing \n
by basm101 (Acolyte) on Feb 04, 2003 at 16:21 UTC | |
by pfaut (Priest) on Feb 04, 2003 at 16:35 UTC | |
by tachyon (Chancellor) on Feb 04, 2003 at 22:12 UTC |