RE: 答复: 答复: [PHP]COOKIE or coding

From: Date: Thu, 06 Nov 2008 15:34:35 +0000
Subject: RE: 答复: 答复: [PHP]COOKIE or coding
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-282994@lists.php.net to get a copy of this message
> -----Original Message----- > From: Chris [mailto:dmagick@gmail.com] > Sent: Wednesday, November 05, 2008 8:51 PM > To: Zhao chunliang[chunliang.zhao] > Cc: php-general@lists.php.net > Subject: Re: 答复: 答复: [PHP]COOKIE or coding > > Zhao chunliang[chunliang.zhao] wrote: > > > > I'll use the string to decrypt, so that I want to they are the same. > > > > When I use 'urlencode', some other string will be changed. Like '/' > > see also http://php.net/rawurlencode ...and if you're only worried about '+' to ' ', just replace! <?php $foo = 'asldkf1231Qasasdf 123/Q=='; $foo = str_replace(' ', '+', $foo); echo $foo; ?> That code should output: 'asldkf1231Qasasdf+123/Q== HTH, Todd Boyd Web Programmer

« previous php.general (#282994) next »