php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #130 problem with magic quotes
Submitted: 1998-03-02 13:30 UTC Modified: 1998-03-05 11:45 UTC
From: pfig at co dot telenet dot pt Assigned:
Status: Closed Package: MySQL related
PHP Version: 3.0b5 OS: solaris 2.5.1
Private report: No CVE-ID: None
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
36 - 35 = ?
Subscribe to this entry?

 
 [1998-03-02 13:30 UTC] pfig at co dot telenet dot pt
i have defined MAGIC_QUOTES when compiling php. the problem
i'm experiencing is that when i enter some data containing
' in mysql, it gets properly quoted (\'), but when i fetch
that data it gets quoted again and shows up as \\\'

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-03-05 11:45 UTC] zeev
No response from the user, unable to reproduce the problem.
The problem was most probably due to an errorenous script, that passes escaped
contents in between pages, thus getting them to be escaped more than once.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 05 22:01:35 2025 UTC