[isf-wifidog] Problem with quote and the database

kaouete kaouete at crazydwarves.org
Mar 6 Sep 11:25:50 EDT 2005

haha, i deactivated it anyway, but i guess you will need to do
your code because i think there will be other people who use it :>

Thanks for the fast reply :]


On Tue, Sep 06, 2005 at 10:59:43AM -0400, Benoit Grégoire wrote:
> On September 6, 2005 09:34 am, kaouete wrote:
> > Hi,
> > it's not the first time i have thise problem, when i enter string
> > (for example if i create a content) with quotes in it, they are
> > slashed into the database, and after when wifidog show them we see
> > the quote.
> >
> > The same for the networks params (in the current cvs :), i have to
> > quote the differents params and i need to remove the slashs by
> > hand in the database because wifidog force them.
> >
> > Maybe it is a problem with magic quoting or a thing like that.
> >
> > Here magic_quotes_gpc is at On. if i change it to Off it is ok.
> >
> > Maybe you need a function that check if magic_quotes_gpc is at on
> > before doing the slashing ?
> GAAAH, magic quotes is evil, even the PHP folks don't recommend it.  All 
> right, I'll put code to undo magic quote's effect if it's enabled, but you 
> will be the ginea pig...  
> -- 
> Benoit Grégoire, http://benoitg.coeus.ca/

-------------- section suivante --------------
Une pièce jointe non texte a été nettoyée...
Nom: non disponible
Type: application/pgp-signature
Taille: 189 octets
Desc: Digital signature
Url: http://listes.ilesansfil.org/pipermail/wifidog/attachments/20050906/7f84ff40/attachment.pgp

More information about the WiFiDog mailing list