php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1114 POST form: don't returns don\'t
Submitted: 1999-02-02 11:56 UTC Modified: 1999-02-02 11:59 UTC
From: kenford at thorn dot net Assigned:
Status: Closed Package: Other
PHP Version: 3.0.6 OS: linux 2.0.36
Private report: No CVE-ID: None
 [1999-02-02 11:56 UTC] kenford at thorn dot net
I submit a POST form with the word: don't
PHP automatically convert it to : don\'t
and I cannot seems to get rid of it, I try using function ereg_replace that 
dose not work I also try urldecode that also does not work.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-02-02 11:59 UTC] rasmus
Use the StripSlashes() function.  Or, if you never need to insert the posted data into a database, you may just want to turn off this "magic_quotes" feature.  Look in your php3.ini file and turn off magic_quotes_gpc
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 23:01:28 2024 UTC