php3-list | 199807
Date: 07/04/98
- Next message: Colin Viebrock: "Re: [PHP3] IP-Problem !"
- Previous message: Lorenzo Huerta: "Re: [PHP3] pg_connect"
- In reply to: Paul Monaghan: "[PHP3] [CR][LF] in place of [LF]"
- Next in thread: Paul Monaghan: "Re: [PHP3] [CR][LF] in place of [LF]"
- Reply: Paul Monaghan: "Re: [PHP3] [CR][LF] in place of [LF]"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I use
$dosfeed = chr(13) . chr(10);
Then just put $dosfeed at the end of the lines that you are writing to
your file.
Garth Gillespie
Web Site Admin
Computer Currents
http://www.currents.net
On Sat, 4 Jul 1998, Paul Monaghan wrote:
>
> Can anyone tell me how to send a [CR][LF] (Carage Return, Line Feed) in
> place of just a [LF] in PHP? I have created a PHP script to output a
> special file for Microsoft Internet Explorer configuration. The file is
> the standard Windows ini file, seems the windows 3.1 version does not like
> just the [LF] and wants a [CR][LF] at the end of every line.
>
> Can anyone help me?
>
> Paul
>
-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.tryc.on.ca/php3.html
- Next message: Colin Viebrock: "Re: [PHP3] IP-Problem !"
- Previous message: Lorenzo Huerta: "Re: [PHP3] pg_connect"
- In reply to: Paul Monaghan: "[PHP3] [CR][LF] in place of [LF]"
- Next in thread: Paul Monaghan: "Re: [PHP3] [CR][LF] in place of [LF]"
- Reply: Paul Monaghan: "Re: [PHP3] [CR][LF] in place of [LF]"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

