php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #891 revert functions for htmlspecialchars and htmlentities
Submitted: 1998-11-02 05:58 UTC Modified: 1999-03-20 18:47 UTC
From: agarcia at at4 dot net Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 3.0.5 OS: all
Private report: No CVE-ID: None
 [1998-11-02 05:58 UTC] agarcia at at4 dot net
Say you want to allways save plain text data in a database. And
you let the user modify the data via an html form:

You use htmlspecialchars to print the data:
<input type="text" name="test" value="&quot;quote&quot;">

When you update de database with the data the user 
sent via form, you want to save it in plain text.

So, it'll be usefull to reverthtmlspecialchars($test).


Thanks.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-03-20 18:47 UTC] sas
That is done automatically by the browser. 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 09:01:32 2024 UTC