Re: Re: prob parsing Url

From: Date: Tue, 14 Sep 2004 11:07:05 +0000
Subject: Re: Re: prob parsing Url
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-196610@lists.php.net to get a copy of this message
On Tue, 14 Sep 2004 13:21:09 +0300, Niklas Lampén <niklas.lists@eventusmedia.fi> wrote: > Urlencode() and urldecode() should help you out. > > Niklas > > > > > Sagar C Nannapaneni wrote: > > Hi folks.. > > > > I'm using a form to send data from one page to another. > > > > one of the input fields in the form has a quotation mark > > > > Ex.: samsung 15" monitor > > > > in the next page i cant get the text after the " symbol in the field. > > > > I've tried both GET and POST methods. > > > > what might b the problem > > > > /sagar > > I'd go for htmlentities($str, ENT_QUOTES); to encode and decode the quotes, and other characters that are actually invalid to use in normal html code... ( Later versions of php have a reverse function, called html_entity_decode or smth)

« previous php.general (#196610) next »