Re: How to turn off back slashes in a String...
| From: | Michael Hall | Date: | Fri, 19 Jul 2002 15:27:04 +0000 |
| Subject: | Re: How to turn off back slashes in a String... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-108527@lists.php.net to get a copy of this message | ||
BTW, if magic_quotes_gpc is now turned off, you may need to use
addslashes() in your code, especially before you put user input into a
database or a sql statement, unless you're validating the data some other
way.
Michael
On Fri, 19 Jul 2002, Kondwani Spike Mkandawire wrote:
> Thanks for the tip... It worked!
> "Michael Hall" <olc@ninti.com> wrote in message
> news:Pine.LNX.4.33.0207192321560.28579-100000@localhost.localdomain...aЉ/éÊ
> -Ë‚Ó9è¥kr
> >
> > Try setting magic_quotes_gpc (and/or magic_quotes_runtime) = Off
> >
> > Michael
> >
> >
> > On Fri, 19 Jul 2002, Kondwani Spike Mkandawire wrote:
> >
> > > How do I turn of Back Slashes on a String in the
> > > ini file...
> > >
> > > I have my Script set as a mailing form however
> > > everytime an Apostrophe is filled in a back slash
> > > is sent to the next page hence
> > >
> > > St. John's on the next page appears as
> > > St. John\'s... and if it is sent again it picks up
> > > another and eventually if the person had to fill
> > > the fields in a couple of time by the time it gets to
> > > the mailbox it the word looks very unappealing...
> > >
> > > Please help...
> > >
> > > Kondwani
> > >
> > >
> > >
> > >
> >
>
>
>
>