Hello,
For anyone else that had a problem with ^M use this function:
str_replace("\r", "", $result);
--------------------------------------------
Brandon Orther
WebIntellects Design/Development Manager
[EMAIL PROTECTED] 800-994-6364
www.webintellects.com
--------------------------------------------
-----Original Message-----
From: 1LT John W. Holmes [mailto:holmes072000@;charter.net]
Sent: Thursday, October 31, 2002 10:42 AM
To: Brandon Orther; PHP User Group
Subject: Re: [PHP] ^M at the end of each line when I use php to write
file
You're probably writing \r\n instead of just \n.
---John Holmes...
----- Original Message -----
From: "Brandon Orther" <[EMAIL PROTECTED]>
To: "PHP User Group" <[EMAIL PROTECTED]>
Sent: Thursday, October 31, 2002 12:44 PM
Subject: [PHP] ^M at the end of each line when I use php to write file
> Hello,
>
> Does anyone know a way around all the ^M at the end of each line that
> my php file writes to on a linux box?
>
>
> --------------------------------------------
>
> Brandon Orther
>
> WebIntellects Design/Development Manager
>
> <mailto:brandon@;webintellects.com> [EMAIL PROTECTED]
> 800-994-6364
>
> <http://www.webintellects.com/> www.webintellects.com
>
> --------------------------------------------
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php