php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5866 Automatic addslashes??
Submitted: 2000-07-31 09:03 UTC Modified: 2000-07-31 09:24 UTC
From: Martin dot Schmitz at Uni-Bielefeld dot de Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.0.1pl2 OS: Linux
Private report: No CVE-ID: None
 [2000-07-31 09:03 UTC] Martin dot Schmitz at Uni-Bielefeld dot de
I wrote a MySQL-Admin tool. It was possible in PHP3 to change a column-type to enum('bla','blah'). But with PHP4 it isn't possible, because in PHP4 the command is added with slashes enum(\'bla\',\'blah\'). An so I always get a syntax-error. How can I switch this option off?? The address is
 http://warstein.lili.uni-bielefeld.de/~mschmitz/projects/mysql_admin/index.php

if you want to try it. Bye...

Martin

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-31 09:24 UTC] stas@php.net
turn of magic_qoutes
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 14 10:01:33 2024 UTC