#24401 [Com]: register globals does not work correctly??!!

From: Date: Mon, 30 Jun 2003 10:23:43 +0000
Subject: #24401 [Com]: register globals does not work correctly??!!
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-42825@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:

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


Previous Comments:
------------------------------------------------------------------------

[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



Thread (21 messages)

« previous php.bugs (#42825) next »