Hi,

    If indeed \n puts CRLF pairs, which i doubt,
you can use the hex code for LF which is 0x0A
istead.

Cheers,
Catalin

"Michael Isaacs" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Still new to PHP - any assistance would be very much appreciated...
>
> I am using a php script to send info to a local file for mail filtering.
> Whe the php script sends the following:
>
> fputs($nf, "MAILDIR=$MAILDIR # Default mail directory\n");
>
> the output actually has a chr 13, 10
>
> ProcMail interprest the CR as a part of the phrase it is using for
parsing,
> so when it goes to send a filter out to a folder (testing in my case) it
> appends a CR to the end of it, which goofs up the user mail agent.  It
also
> goofs up the filter itself, as it is looking for a CR in the criteria.
>
> Is there a way to force it to only output a LF, not CRLF?  Configuration
> issue?
>
> Michael Isaacs
>
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to