Re: encoding a + sign

From: Date: Mon, 01 Aug 2005 17:25:15 +0000
Subject: Re: encoding a + sign
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-219771@lists.php.net to get a copy of this message
On 8/1/05, Diana Castillo <diana@hotelkey.com> wrote: > I used this "%2B" instead of the + sign and it works, what type of encoding > is that? %2B looks like something that would appear in a URL, usually in the QUERY_STRING(which is part of the URL). &#43; is the format you would use in an XML document itself. If you're using php check out www.php.net/urlencode and www.php.net/htmlspecialchars and www.php.net/htmlentities those urls are from memory, so may not be completely accurate. Let me know if they're not, and I'll find the right ones for you. > ----- Original Message ----- > From: "Rory Browne" <rory.browne@gmail.com> > To: "Diana Castillo" <diana@hotelkey.com> > Cc: <php-general@lists.php.net> > Sent: Monday, August 01, 2005 6:43 PM > Subject: Re: [PHP] encoding a + sign > > > > use &#43; > > > > check out www.asciitable.com > > > > > > > > On 8/1/05, Diana Castillo <diana@hotelkey.com> wrote: > >> what type of encoding should I use to send a "+" sign via XML? > >> > >> > >> -- > >> Diana Castillo > >> Destinia.com > >> C/Granvia 22 dcdo 4-dcha > >> 28013 Madrid-Spain > >> Tel : 00-34-913604039 Ext 216 > >> Fax : 00-34-915228673 > >> email: diana@hotelkey.com > >> Web : http://www.hotelkey.com > >> http://www.destinia.com > >> > >> -- > >> PHP General Mailing List (http://www.php.net/) > >> To unsubscribe, visit: http://www.php.net/unsub.php > >> > >> > > > >

« previous php.general (#219771) next »