[PHP] internal error when mailing...

2006-03-01 Thread Gustav Wiberg
Here's my code ?php //Thanx to jcwebb at dicoe dot com //base of the code at php.net is used here // Is the OS Windows or Mac or Linux // if (strtoupper(substr(PHP_OS,0,3)=='WIN')): $eol=\r\n; elseif (strtoupper(substr(PHP_OS,0,3)=='MAC')): $eol=\r; else: $eol=\n; endif; //Message Subject

Re: [PHP] internal error when mailing...

2006-03-01 Thread John Nichel
Gustav Wiberg wrote: Here's my code ?php //Thanx to jcwebb at dicoe dot com //base of the code at php.net is used here // Is the OS Windows or Mac or Linux // if (strtoupper(substr(PHP_OS,0,3)=='WIN')): $eol=\r\n; elseif (strtoupper(substr(PHP_OS,0,3)=='MAC')): $eol=\r; else: $eol=\n; endif;

Re: [PHP] internal error when mailing...

2006-03-01 Thread Gustav Wiberg
- Original Message - From: John Nichel [EMAIL PROTECTED] To: Gustav Wiberg [EMAIL PROTECTED] Sent: Wednesday, March 01, 2006 9:57 PM Subject: Re: [PHP] internal error when mailing... Gustav Wiberg wrote: Here's my code ?php //Thanx to jcwebb at dicoe dot com //base of the code

Re: [PHP] internal error when mailing...

2006-03-01 Thread Chris
Gustav Wiberg wrote: - Original Message - From: John Nichel [EMAIL PROTECTED] To: Gustav Wiberg [EMAIL PROTECTED] Sent: Wednesday, March 01, 2006 9:57 PM Subject: Re: [PHP] internal error when mailing... Gustav Wiberg wrote: Here's my code ?php //Thanx to jcwebb at dicoe dot com