RE: [PHP-WIN] Form text with reserved chars

2002-11-01 Thread Dash McElroy
] Subject: Re: [PHP-WIN] Form text with reserved chars Try set_magic_quotes_runtime(0) to get rid off \ . Cheers On Fri, 1 Nov 2002, news.php.net wrote: > Date: Fri, 1 Nov 2002 08:37:50 +0100 > From: news.php.net <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: [PHP-W

Re: [PHP-WIN] Form text with reserved chars

2002-11-01 Thread Miha Nedok
Try set_magic_quotes_runtime(0) to get rid off \ . Cheers On Fri, 1 Nov 2002, news.php.net wrote: > Date: Fri, 1 Nov 2002 08:37:50 +0100 > From: news.php.net <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Form text with reserved chars > > Hi NG. >

[PHP-WIN] Form text with reserved chars

2002-10-31 Thread news.php.net
Hi NG. I'm having trouble with form textareas containing " ' ". Every time I submit a form holding this char php will insert "\" infront of it. I'm well aware of the reason for this but I'd like to know just how to get rid of the "\". I've tried using ereg_replace("'","ยด",$text) but the "\" is in