#24401 [Com]: register globals does not work correctly??!!
| From: | petrich at tronic-media dot com | Date: | Mon, 30 Jun 2003 10:25:37 +0000 |
| Subject: | #24401 [Com]: register globals does not work correctly??!! | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-42826@lists.php.net to get a copy of this message | ||
ID: 24401
Comment by: petrich at tronic-media dot com
Reported By: eero at jlug dot org
Status: Feedback
Bug Type: *General Issues
Operating System: Linux
PHP Version: 5.0.0b1 (beta1)
New Comment:
Upsss,
>on my machine (linux 7.2 / Kernel 2.4.9-21) with php5b1 the same
linux 7.2 == Red-Hat 7.2
Hans-Jürgen Petrich
Previous Comments:
------------------------------------------------------------------------
[2003-06-30 05:23:41] petrich at tronic-media dot com
Hi,
on my machine (linux 7.2 / Kernel 2.4.9-21) with php5b1 the same
Problem.
In php.ini
register_globals = On
and in .htaccess also
php_flag register_globals on
phpinfo() says:
register_globals On On
Configured with:
'./configure' '--prefix=/usr' '--with-mysql=/usr'
'--with-prefix=/usr'
'--with-zlib' --enable-force-cgi-redirect
Perhaps that will help...
Greetings
Hans-Jürgen Petrich
------------------------------------------------------------------------
[2003-06-30 04:43:06] derick@php.net
Works fine here... what does phpinfo() say about register_globals?
------------------------------------------------------------------------
[2003-06-30 04:39:04] eero at jlug dot org
ilmoitustaulu.php contains like that:
if($action == "add") do_something();
else do_something2();
But $action contains is not passed to to ilmoitustaulu.php
------------------------------------------------------------------------
[2003-06-30 04:13:55] derick@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2003-06-30 03:38:14] eero at jlug dot org
Description:
------------
Compiled php5 on my machine, and setted register_globals=On
and this kind of urls does not work
http://server.foo/ilmoitustaulu.php?action=foo
$action is not visible in ilmoitustaulu.php.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24401&edit=1