#26491 [Opn->Bgs]: printing variable values

From: Date: Thu, 29 Jan 2004 02:11:55 +0000
Subject: #26491 [Opn->Bgs]: printing variable values
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-54092@lists.php.net to get a copy of this message
ID: 26491 Updated by: sniper@php.net Reported By: clyuri at uadec dot mx -Status: Open +Status: Bogus Bug Type: Unknown/Other Function Operating System: Linux x86 PHP Version: Irrelevant New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2003-12-28 18:10:03] andrey@php.net Would it be possible to provide a reproducing script? ------------------------------------------------------------------------ [2003-12-03 15:12:02] clyuri at uadec dot mx no, it doesn't work ------------------------------------------------------------------------ [2003-12-02 21:35:18] iliaa@php.net does this happen if you use: <?php echo $nimi2; ?> or <?php echo "{$nimi2}"; ?> ? ------------------------------------------------------------------------ [2003-12-01 13:33:42] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26491&edit=1

« previous php.bugs (#54092) next »