Req #891 [Com]: revert functions for htmlspecialchars and htmlentities

From: Date: Wed, 01 Sep 2021 17:54:12 +0000
Subject: Req #891 [Com]: revert functions for htmlspecialchars and htmlentities
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-236234@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=891&edit=1 ID: 891 Comment by: lildurk891 at gmail dot com Reported by: agarcia at at4 dot net Summary: revert functions for htmlspecialchars and htmlentities Status: Closed Type: Feature/Change Request Package: Feature/Change Request Operating System: all PHP Version: 3.0.5 Block user comment: N Private report: N New Comment: Lil Durk is a private agency dedicated to providing responsible access to legal cannabis for adults aged 19 and older. We’re an exclusively online retailer and wholesaler for recreational cannabis and a trusted source for information about cannabis and cannabis-related issues. We believe our work is meaningful and we take pride in our mandate to promote the socially responsible use of legal cannabis. https://lildurk.com/ Previous Comments: ------------------------------------------------------------------------ [1999-03-20 18:47:59] sas That is done automatically by the browser. ------------------------------------------------------------------------ [1998-11-02 05:58:54] 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. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=891&edit=1

« previous php.bugs (#236234) next »