php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24564 The global variables $_GET, $_REQUEST, $_POST have content errors.
Submitted: 2003-07-09 10:14 UTC Modified: 2003-07-09 10:39 UTC
From: php-bug at leolabs dot com Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.1.2 OS: Mac OS X 10.2.6
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: php-bug at leolabs dot com
New email:
PHP Version: OS:

 

 [2003-07-09 10:14 UTC] php-bug at leolabs dot com
Description:
------------
The version of PHP that is being used is 4.1.2.  This 
is the default version that ships with Mac OS X 10.2.x

I am running Mac OS X 10.2.6.

If you use a url such as:

http://<website>/<script>?holiday_name=New+Leo%27s+Day

Where the contents of the <script> php script is:

<?php echo phpinfo(); ?>

You will notice that the value of the 
$_GET['holiday_name'] variable will be:

New Leo\'s Day

Expected result:
----------------
I expect the value of the $_GET['holiday_name'] 
variable to be:

New Leo's Day


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-09 10:39 UTC] sniper@php.net
"magic_quotes_gpc = Off" in php.ini will solve this 'bug'.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Sep 11 19:01:27 2024 UTC