php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4174 Bug when using ' as a value in a variable
Submitted: 2000-04-18 06:26 UTC Modified: 2002-09-30 18:47 UTC
From: shr at dmi dot dk Assigned:
Status: Not a bug Package: Reproducible Crash
PHP Version: 3.0.16 OS: UNIX
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: shr at dmi dot dk
New email:
PHP Version: OS:

 

 [2000-04-18 06:26 UTC] shr at dmi dot dk
Earlier I've reported a bug on using the char ' as a value in a variable, now tested it on the php version 4.0b3, the problem persist to exist.

I've tested with this little program:

<FORM ACTION="test.php3" method="get">

<?php
if ($bugger)
        echo "<INPUT type=\"hidden\" name=\"bugger\" value=\"$bugger\">\n";
	else      
	echo "<INPUT type=\"hidden\" name=\"bugger\" value=\"'\">\n";
?>

<INPUT type="submit"  value=" ged "></FORM>

<?php
	echo "Bugger=$bugger kode=".rawurlencode("$bugger");
?>

Just make a file named test.php3 with code above and run it. It should show the
problem i detail.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-30 18:47 UTC] hholzgra@php.net
Sorry, but the bug system is not the appropriate forum for asking
support questions. 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

Thank you for your interest in PHP.

check your magic_cookie settings in php.ini
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Jun 03 13:01:25 2020 UTC