#20515 [Com]: argv array is empty

From: Date: Wed, 20 Nov 2002 12:41:00 +0000
Subject: #20515 [Com]: argv array is empty
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-25330@lists.php.net to get a copy of this message
ID: 20515 Comment by: plant@virtualsolution.net Reported By: plant@virtualsolution.net Status: Bogus Bug Type: Scripting Engine problem Operating System: Linux PHP Version: 4.2.3 New Comment: Yes derick .. but in my php.ini the register_globals is On ! register_argc_argv = On register_globals = On Have you the solution ? please? Enrico Plantulli Previous Comments: ------------------------------------------------------------------------ [2002-11-20 06:24:32] 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. ------------------------------------------------------------------------ [2002-11-20 06:23:54] plant@virtualsolution.net In PHP 4.2.3 on Linux RedHat 7.3 when i try to pass some variable in this way: php -q scrip.php first second the otput don't echo me the first and second. ( don't register the variable in argv array) On a binary on php 4.1.1 this work fine and work fine also on Windows version of php 4.2.3. Enrico Plantulli ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20515&edit=1

« previous php.bugs (#25330) next »