Oops...
<[EMAIL PROTECTED]> wrote:
> success. And I have read through the user contributed notes and havent'
> found it there.
Sorry 'bout the link earlier. (You could find some hints under file()
though...)
- E
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://ww
[EMAIL PROTECTED] wrote:
What do I need to use to create real linefeeds or new lines when viewing
under windows?
Unices use only the "newline" character (interpreted as "line feed" in
dos/win), whereas dos/win uses "carriage return" and "line feed". So to
get it to show right in e.g. NotePad
newline in windows is "\r\n" - $newline="\r\n";
[EMAIL PROTECTED] wrote:
I found all this and have worked on getting the file output and formated
to my (actually my boss') liking. The text file gets formatted just fine
when read in Linux but the newlines appear as blocks when viewing in
Window
success. And I have read through the user contributed notes and havent'
found it there.
Ed
On Fri, 6 Dec 2002, 1LT John W. Holmes wrote:
> > What do I need to use to create real linefeeds or new lines when viewing
> > under windows?
> [snip]
> > $newline = "\n";
>
> Use \r\n for Windows.
>
> What do I need to use to create real linefeeds or new lines when viewing
> under windows?
[snip]
> $newline = "\n";
Use \r\n for Windows.
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
<[EMAIL PROTECTED]> wrote:
...[snip]...
> What do I need to use to create real linefeeds or new lines when viewing
> under windows?
Try the manual again and check specifically the "User Contributed
Notes"--I'm sure you'll find something :)
http://www.php.net/manual/en/function.fputs.p
On Fri, 6 Dec 2002, Tim Ward wrote:
> everything you need is here
>
> http://www.php.net/manual/en/ref.filesystem.php
>
> in particular fopen(), fputs(), fwrite(), etc.
>
> Tim Ward
> http://www.chessish.com
> mailto:[EMAIL PROTECTED]
I found all this and have worked on getting the file ou
everything you need is here
http://www.php.net/manual/en/ref.filesystem.php
in particular fopen(), fputs(), fwrite(), etc.
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 06, 2002 1:2
8 matches
Mail list logo