php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4972 Adds slahes to evry INPUT or TEXTAREA.
Submitted: 2000-06-12 08:09 UTC Modified: 2000-06-12 09:04 UTC
From: zyoav at cs dot technion dot ac dot il Assigned:
Status: Closed Package: Other
PHP Version: 4.0.0 Release OS: UNIX (apache)
Private report: No CVE-ID: None
 [2000-06-12 08:09 UTC] zyoav at cs dot technion dot ac dot il
If I have a form:
<FORM ACTION="bla.php3" METHOD="post">
...
<INPUT TYPE="text" NAME="somename">
<TEXTAREA NAME="someothername">some "comments"</TEXTAREA>

In bla.php3, the variables: $somename and $someothername have been added slashes before " and '.
For example:
$someothername will hold the value:
some \"comments\"

It's not a feature, but a BUG, since I have now way to change this.

Please let me know If I'm wrong.
thanks in advance.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-12 09:04 UTC] rasmus at cvs dot php dot net
You are wrong.  See the magic_quotes settings in your php.ini file.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 10 22:01:32 2024 UTC