Hello All,
Happy pre independence for my American PHPers. And good health to all
others.
Have a quick question..
I have this code I use for the end of line characters used in my
mailers.
[Code]
// Is the OS Windows or Mac or Linux
if (strtoupper(substr(PHP_OS,0,5)=='WIN')) {
$eol="
PHP_EOL is the best fit. you do not have to write multiple lines of
code to do the same thing.
~viraj
p.s. cross-posting is bad. removed db. from the cc list.
On Sat, Jul 2, 2011 at 1:31 PM, Karl DeSaulniers wrote:
> Hello All,
> Happy pre independence for my American PHPers. And good health to
On Jul 2, 2011, at 3:10 AM, viraj wrote:
PHP_EOL is the best fit. you do not have to write multiple lines of
code to do the same thing.
~viraj
p.s. cross-posting is bad. removed db. from the cc list.
On Sat, Jul 2, 2011 at 1:31 PM, Karl DeSaulniers
wrote:
Hello All,
Happy pre independence
On Sat, Jul 2, 2011 at 9:01 AM, Karl DeSaulniers wrote:
> Hello All,
> Happy pre independence for my American PHPers. And good health to all
> others.
> Have a quick question..
>
> I have this code I use for the end of line characters used in my mailers.
>
> [Code]
> // Is the OS Windows or Mac or
On Jul 2, 2011, at 3:01 AM, Karl DeSaulniers wrote:
Hello All,
Happy pre independence for my American PHPers. And good health to
all others.
Have a quick question..
I have this code I use for the end of line characters used in my
mailers.
[Code]
// Is the OS Windows or Mac or Linux
if (
Thanks Stuart!
Karl
Sent from losPhone
On Jul 2, 2011, at 8:45 AM, Stuart Dallas wrote:
On Sat, Jul 2, 2011 at 9:01 AM, Karl DeSaulniers
wrote:
Hello All,
Happy pre independence for my American PHPers. And good health to all
others.
Have a quick question..
I have this code I use for the
hi all,
looking at the code Karl has posted, this code bit is not going to be
a help in setting the 'new line' character in an email body, because
it decides based on the server operating system.
if (strtoupper(substr(PHP_OS,0,5)**=='WIN')) {
>$eol="\r\n";
when sending out emails, the mo
7 matches
Mail list logo