Re: [PHP] A simple question, however it's urgent

2010-05-17 Thread Al
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(""

Re: Re[4]: [PHP] A simple question, however it's urgent

2010-05-17 Thread Ashley Sheridan
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

Re[4]: [PHP] A simple question, however it's urgent

2010-05-17 Thread Andre Polykanine
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

Re: Re[2]: [PHP] A simple question, however it's urgent

2010-05-17 Thread Ashley Sheridan
.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 >

Re[2]: [PHP] A simple question, however it's urgent

2010-05-17 Thread Andre Polykanine
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

Re: [PHP] A simple question, however it's urgent

2010-05-17 Thread Ashley Sheridan
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

[PHP] A simple question, however it's urgent

2010-05-17 Thread Andre Polykanine
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