php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2293 Automatically add slashes in form variable not same as PHP3
Submitted: 1999-09-14 10:29 UTC Modified: 1999-09-15 05:33 UTC
From: tcs at cyber dot cs dot ntou dot edu dot tw Assigned:
Status: Closed Package: Other
PHP Version: 4.0 Beta 2 OS: FreeBSD 3.2 & SunOS 5.5
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: tcs at cyber dot cs dot ntou dot edu dot tw
New email:
PHP Version: OS:

 

 [1999-09-14 10:29 UTC] tcs at cyber dot cs dot ntou dot edu dot tw
in PHP3
FILE:test.php3
<?
      print $test;
?>

use following link
http://compaq.ind.ntou.edu.tw/~tcs/test.php3?test='test'
It showed 'test'
But in PHP4
It showed \'test\'

this is not same as PHP3

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-09-15 05:33 UTC] riffraff at cvs dot php dot net
are you sure, you have the same value in magic_quotes configuration variable in php.ini?
if this is not the problem, please resubmit
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun May 11 13:01:28 2025 UTC