Re: Is there a way to get rid of \' and \" ?

From: Date: Sun, 22 Jun 2003 15:07:59 +0000
Subject: Re: Is there a way to get rid of \' and \" ?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-152453@lists.php.net to get a copy of this message
On Sun, 22 Jun 2003, Jason Wong wrote: > On Sunday 22 June 2003 06:00, Dan Anderson wrote: > > I have a form which feeds into an e-mail. When I use the mail function > > all 's turn into \'s and all "s turn into \"s. > > Are you sure it's the mail() function that's doing it? I doubt it. > > > I tried > > set_magic_quotes_runtime(0) and it didn't do anything, > > In php.ini: > > magic_quotes_gpc = Off Btw, magic_quotes_gpc and magic_quotes_runtime are totally different beasts. You cannot set magic_quotes_gpc at runtime but may use php.ini as Jason suggests or .htaccess Before you set it off, be sure you know how it will affect your SQL queries though. Regards, Philip

« previous php.general (#152453) next »