#23615 [Bgs]: Anything after the "?" Question mark doesn't work

From: Date: Tue, 13 May 2003 19:50:14 +0000
Subject: #23615 [Bgs]: Anything after the "?" Question mark doesn't work
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39547@lists.php.net to get a copy of this message
ID: 23615 Updated by: helly@php.net Reported By: melo00 at msn dot com Status: Bogus Bug Type: Apache2 related Operating System: Windows 2000 Server PHP Version: 4.3.1 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. You just encountered register_globals=off. Previous Comments: ------------------------------------------------------------------------ [2003-05-13 14:16:13] derick@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. ... ------------------------------------------------------------------------ [2003-05-13 14:14:18] melo00 at msn dot com If I have a link that will pass on a variable to a function within a script, the value is not passed, for example: http://mywebsite/welcome.php?ID=1 the value that comes after the ? does not get read into the script, so if the function is <?php function Welcome($ID) { echo "The session ID is " . $ID; } ?> the function will display ..... "The session ID is " It doesn't even recognize that the value was assigned to ID, Is there something that I didn't turn on in my PHP configuration, or is it a PHP bug By the way, Im running apache server 2 (latest version as of May 10, 2003) PHP4.3.1 and MySQL And please, If my little function above is not coded correctly, please excuse me, it's only a sample I came up with on the fly to show my problem, and I have never ever before coded PHP before 2 days ago, but if I understand PHP correctly, thats the closest I can come to a real function without looking at actual code ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23615&edit=1

« previous php.bugs (#39547) next »