php3-list | 199903
Date: 03/29/99
- Next message: Rasmus Lerdorf: "Re: [PHP3] Caching?"
- Previous message: Stefan Paletta: "RE: [PHP3] is constants considered global like global vars?"
- In reply to: Auke van Slooten: "Re: [PHP3] [HOW TO] Passing serialized data around"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> After reading up on AddSlashes/StripSlashes I must confess that you are
> absolutely right.. sigh (mental note: RTFM) The original post of mr Colin
> Viebrock said though:
>
> > If you are storing serialized data in a database, you need to
> > serialize() the data, then addslashes(), then stick it in the DB.
> >
> > When you pull it out, stripslashes(), then unserialize().
>
> So, just don't use StripSlashes and everything works fine! :)
Well, the very next paragraph in my original post said:
> [Your server may be configured so the addslashes and stripslashes
> are automagically done for you.]
__________________________________________________________________
Colin Viebrock easyDNS Technologies
... be the master of your domain
http://www.easyDNS.com
-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3 List administrator: zeev-list-admin <email protected>
- Next message: Rasmus Lerdorf: "Re: [PHP3] Caching?"
- Previous message: Stefan Paletta: "RE: [PHP3] is constants considered global like global vars?"
- In reply to: Auke van Slooten: "Re: [PHP3] [HOW TO] Passing serialized data around"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

