note 21802 added to function.file
| From: | andre at urbanbuffalo dot com | Date: | Tue, 28 May 2002 01:31:01 +0000 |
| Subject: | note 21802 added to function.file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-31080@lists.php.net to get a copy of this message | ||
You can always directly insert a carriage return and line feed:
chr(13).chr(10)
Seems to work fine for me. Remember to use them together as some text readers wont recognise these
separately. e.g. chr(13) (carriage return) in some cases will display an invalid character at the
point where you wanted a new line. Adding chr(10) solves this.
I find it handy to make it a global var.
I know it's small but hopefully this helps someone who has to develop script for a few
different platforms. It helps me.
Cheers.
--
http://www.php.net/manual/en/function.file.php
http://master.php.net/manage/user-notes.php?action=edit+21802
http://master.php.net/manage/user-notes.php?action=delete+21802
http://master.php.net/manage/user-notes.php?action=reject+21802