php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #939 Automatically inserts a \ before a ' cuasing a \' on a post
Submitted: 1998-11-21 23:11 UTC Modified: 1998-11-23 00:06 UTC
From: webmaster at pollit dot com Assigned:
Status: Closed Package: Other
PHP Version: 3.0.5 OS: lunix
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: webmaster at pollit dot com
New email:
PHP Version: OS:

 

 [1998-11-21 23:11 UTC] webmaster at pollit dot com
When a form post contains a  '   a \ is inserted before it.

ex. If the word "isn't" was typed into a form text box and submitted the result would be "isn\'t"
you can see an example of this on the php3 website at  http://php3.net/FAQ.php3

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-11-23 00:06 UTC] jim
This is what is supposed to happen when the magic_quotes_gpc
configuration setting is set. 

The php3.net mirror problem is related, in that they apparently have
magic_quotes_runtime set, but the current code for the site does not expect
this. Check one of the other mirrors like http://ca.php.net/FAQ.php3 to see
what happens when it is set as expected (off) for PHP mirrors.

Jim
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun May 11 10:01:27 2025 UTC