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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: agarcia at at4 dot net
New email:
PHP Version: OS:

 

 [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

Pull Requests

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 Sep 27 22:01:26 2024 UTC