Re: [PHP] removing slashes from template file

2001-04-12 Thread Chris Adams
On Thu, Apr 12, 2001 at 09:01:22PM -0700, Franklin Hays wrote: > > Chris, > > This is correct. The provider has the following: > > magic_quotes_gpc ON ON > magic_quotes_runtime ON ON > magic_quotes_sybase OFF OFF > > and I have: > > magic_quotes_gpcON ON >

Re: [PHP] removing slashes from template file

2001-04-12 Thread Franklin Hays
Thanks to Chris Adams this problem is now solved. magic_quotes_runtime was set to ON at my hosting service. I used set_magic_quotes_runtime(0) in the top of my script and the site works like a champ now. If you want magic quotes to be ON then just use 1 instead. http://www.php.net/manual/en/f

Re: [PHP] removing slashes from template file

2001-04-12 Thread Plutarck
http://us.php.net/manual/en/function.set-magic-quotes-runtime.php Someone should make the manual search a little better...it couldn't find a search for "magic" ;( -- Plutarck Should be working on something... ...but forgot what it was. "Franklin Hays" <[EMAIL PROTECTED]> wrote in message [EM

Re: [PHP] removing slashes from template file

2001-04-12 Thread Franklin Hays
Chris, This is correct. The provider has the following: magic_quotes_gpcON ON magic_quotes_runtimeON ON magic_quotes_sybase OFF OFF and I have: magic_quotes_gpcON ON magic_quotes_runtimeOFF OFF magic_quotes_sybase OFF OFF Is there a

Re: [PHP] removing slashes from template file

2001-04-12 Thread Chris Adams
On 12 Apr 2001 19:20:44 -0700, Franklin Hays <[EMAIL PROTECTED]> wrote: >Any ideas? I have tried using stripslashes() in the 'script' above but get >errors. Is there something unique to the php cgi I am missing? Something >else? Check your magic quotes settings on both systems using phpinfo(). I