Re: Quotes, Double Quotes and Hidden Fields

From: Date: Wed, 27 Dec 2000 23:06:55 +0000
Subject: Re: Quotes, Double Quotes and Hidden Fields
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-32018@lists.php.net to get a copy of this message
how do these compare with $uname = urldecode($uname); terry > From: Ignacio Vazquez-Abrams <ignacio@openservices.net> > Date: Wed, 27 Dec 2000 16:35:39 -0500 (EST) > To: Gareth Mulholland <Gareth@rusholme.com> > Cc: <php-general@lists.php.net> > Subject: Re: [PHP] Quotes, Double Quotes and Hidden Fields > >> $url = htmlentities(stripslashes($url)); >> $comments = htmlentities(stripslashes($comments)); >> >> This seems very clumsy and probably unnecessary - is there a better way of >> doing this? >> >> Thanks >> Gareth >> > > For storing in hidden fields I use base64_encode/decode(). Displaying, > though, needs htmlentities().

« previous php.general (#32018) next »