#17434 [Bgs]: "register_globals = on" does not have any effect
| From: | cynic@php.net | Date: | Sat, 03 Aug 2002 03:20:47 +0000 |
| Subject: | #17434 [Bgs]: "register_globals = on" does not have any effect | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-15885@lists.php.net to get a copy of this message | ||
ID: 17434
Updated by: cynic@php.net
Reported By: jcelle@adeolis.com
Status: Bogus
Bug Type: PHP options/info functions
Operating System: windows 2000 pro
PHP Version: 4.2.1
New Comment:
the bugs i see:
1) it's $_GET, not $_get
2) it's register_globals, not record_globals
3) this is bound to be a pilot error. can you please:
a) make sure you have only one php4ts.dll in your system
b) the right php.ini is used
c) provide a short self-contained script complete with your php.ini
*MINUS* comments?
d) output of phpinfo() stripped off of any html (lynx -dump et. al.
come to mind)
Previous Comments:
------------------------------------------------------------------------
[2002-08-02 22:57:47] andre.studzinski@vtx.ch
I have the same problem.
Impossible to pass any variable from url's line into php script.
filename.php?id=value
I get "undefined variable" notice and variable est empty.
Also $_get[id] is empty.
Of course, record_globals is set in php.ini
I use Win98 PWS4 PHP4.2.2
There is a bug somwhere.
------------------------------------------------------------------------
[2002-05-26 12:54:03] sander@php.net
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2002-05-26 12:24:56] jcelle@adeolis.com
I needed the register_globals turned on to run some ancient scripts.
Even though phpinfo() reports that register_globasl is set to 'On' the
variables are never created. $_GET array also seems empty (it's the one
who should hold my variables).
A workaround is to switch to a previous version of PHP like 4.1.1.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17434&edit=1