Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199807

Re: [PHP3] [CR][LF] in place of [LF] From: Garth Gillespie (vedekgar <email protected>)
Date: 07/04/98

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