On 5/17/2010 8:53 AM, Andre Polykanine wrote:
Ash,
Magic quotes are disabled:
http://gviragon.org/study/php.php
Any ideas?
Thanks a lot!
Your code should work for something as simple as this, almost regardless of the
php setup.
Change your
$what=array("\r\n", "\n", "\r");
$with=array(""
arthaelon @ yandex.ru; Jabber: arthaelon @
> jabber.org
> Yahoo! messenger: andre.polykanine; ICQ: 191749952
> Twitter: m_elensule
>
> - Original message -
> From: Ashley Sheridan
> To: Andre Polykanine
> Date: Monday, May 17, 2010, 3:34:07 PM
> Subject: [PHP] A si
sule
- Original message -
From: Ashley Sheridan
To: Andre Polykanine
Date: Monday, May 17, 2010, 3:34:07 PM
Subject: [PHP] A simple question, however it's urgent
On Mon, 2010-05-17 at 15:36 +0300, Andre Polykanine wrote:
> Hey Ash,
>
> I do a print_r($_POST) and see there the \r
.org
> Yahoo! messenger: andre.polykanine; ICQ: 191749952
> Twitter: m_elensule
>
> - Original message -----
> From: Ashley Sheridan
> To: Andre Polykanine
> Date: Monday, May 17, 2010, 3:24:37 PM
> Subject: [PHP] A simple question, however it's urgent
>
ards from Ukraine,
Andre
Skype: Francophile; Wlm&MSN: arthaelon @ yandex.ru; Jabber: arthaelon @
jabber.org
Yahoo! messenger: andre.polykanine; ICQ: 191749952
Twitter: m_elensule
- Original message -
From: Ashley Sheridan
To: Andre Polykanine
Date: Monday, May 17, 2010, 3:24:37 PM
Subje
On Mon, 2010-05-17 at 15:26 +0300, Andre Polykanine wrote:
> Hello everyone,
> Just can't imagine what happens. There is the simplest function in the
> world:
>
> function LineBreaks ($str) {
> $what=array("\r\n", "\n", "\r");
> $with=array("");
> $str=str_replace($what, $with, $str);
> return $s
Hello everyone,
Just can't imagine what happens. There is the simplest function in the
world:
function LineBreaks ($str) {
$what=array("\r\n", "\n", "\r");
$with=array("");
$str=str_replace($what, $with, $str);
return $str;
}
And... it does work on one site and doesn't on another. Same hosting
pr
7 matches
Mail list logo