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
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: 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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 13 12:01:31 2025 UTC