php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26491 printing variable values
Submitted: 2003-12-01 13:33 UTC Modified: 2004-01-28 21:11 UTC
From: clyuri at uadec dot mx Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: Irrelevant OS: Linux x86
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: clyuri at uadec dot mx
New email:
PHP Version: OS:

 

 [2003-12-01 13:33 UTC] clyuri at uadec dot mx
Description:
------------
I have a problem with maybe the parsing of php script; where it says : print $variable, the browser returns : $variable=its value.

the output it's only with  IE
I'm using php 4.2.2-17 out-of-the-box (preinstalled with RH), RedHat Intel



Reproduce code:
---------------
<a href=send.php?nick=<?php echo "$nimi2"; ?>&astu=joo>Enter</a>


Expected result:
----------------
send.php?nick=something&astu=joo

Actual result:
--------------
send.php?nick=somethingnimi2=something&astu=joo

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-12-02 21:35 UTC] iliaa@php.net
does this happen if you use:
<?php echo $nimi2; ?>
or
<?php echo "{$nimi2}"; ?>
?
 [2003-12-03 15:12 UTC] clyuri at uadec dot mx
no, it doesn't work
 [2003-12-28 18:10 UTC] andrey@php.net
Would it be possible to provide a reproducing script?
 [2004-01-28 21:11 UTC] sniper@php.net
In PHP 4.2.0, the 'register_globals' setting default changed to
'off'. See http://www.php.net/release_4_2_0.php for more info.
We are sorry about the inconvenience, but this change was a necessary
part of our efforts to make PHP scripting more secure and portable.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 04 17:01:33 2024 UTC