#36929 [Opn->Bgs]: "\" turns to "\\" when passing parameter from page1 to page 2
| From: | edink@php.net | Date: | Fri, 31 Mar 2006 06:53:07 +0000 |
| Subject: | #36929 [Opn->Bgs]: "\" turns to "\\" when passing parameter from page1 to page 2 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-95150@lists.php.net to get a copy of this message | ||
ID: 36929
Updated by: edink@php.net
Reported By: timo dot ahokas at nesteoil dot com
-Status: Open
+Status: Bogus
Bug Type: *General Issues
Operating System: XP
PHP Version: 5.1.2
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Hint: check your magic_quotes php.ini setting.
Previous Comments:
------------------------------------------------------------------------
[2006-03-31 08:30:52] timo dot ahokas at nesteoil dot com
Description:
------------
"\" turns to "\\" when passing parameter from page1 to page 2
php WITH SAMBAR 6
Reproduce code:
---------------
CODE FOR PAGE1:
<html>
<head>
<title></title>
</head>
<body>
<?php
echo"
<body>
<form name='zz_something'
action='Nextpage.php?sendedparam=ahokatim\something' method='post'>
<CENTER><INPUT TYPE=SUBMIT VALUE='Sign in'></CENTER>
</form>
</body>";
?>
</body>
</html>
CODE FOR PAGE2:
<html>
<head>
<title></title>
</head>
<body>
<?php
$regresult = $_REQUEST['sendedparam'];
echo"
<body>
<form name='zz_Next'>
$regresult
</form>
</body>";
?>
</body>
</html>
Expected result:
----------------
ahokatim\something
Actual result:
--------------
ahokatim\\something
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36929&edit=1