Re: About quotes

From: Date: Sun, 15 Sep 2002 22:55:26 +0000
Subject: Re: About quotes
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-15833@lists.php.net to get a copy of this message
stripslashes(string) could help you. Also try urlencode(string). Viola! -Dash Hard work may not kill you, but why take chances? On Sun, 15 Sep 2002, Tomator wrote: > Hi. > I've made new site. Everything in database. To managing data there are some > PHP scripts. One of them gets text input from user and strores it into db or > (depending on some circumstances) gets aditional input. Data already got are > propagated in hidden fields of an HTML form. But there is a problem. > Input can contain also HTML tags, which causes unwanted effects. ie: > <HIDDEN VALUE="<img src=\"image.gif\"> And some text"> > looses "And some text". > > How to fix this? Is there any simple solution? > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.windows (#15833) next »