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
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: zyoav at cs dot technion dot ac dot il
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 15:01:34 2025 UTC