php-general Digest 3 Jul 2011 01:28:24 - Issue 7386
Topics (messages 313835 through 313841):
PHP EOL
313835 by: Karl DeSaulniers
313836 by: viraj
313837 by: Karl DeSaulniers
313838 by: Stuart Dallas
313841 by: viraj
Re: [PHP-DB] PHP EOL
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')) {
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 k...@designdrumm.com wrote:
Hello All,
Happy pre independence for my American PHPers.
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
k...@designdrumm.com wrote:
Hello All,
On Sat, Jul 2, 2011 at 9:01 AM, Karl DeSaulniers k...@designdrumm.comwrote:
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
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 stu...@3ft9.com wrote:
On Sat, Jul 2, 2011 at 9:01 AM, Karl DeSaulniers
k...@designdrumm.comwrote:
Hello All,
Happy pre independence for my American PHPers. And good health to all
others.
Have a quick
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 most
8 matches
Mail list logo