#27396 [Opn->Bgs]: Can't Enable register_globals in Windows
ID: 27396
Updated by: derick@php.net
Reported By: bernardino_lopez at yahoo dot com
-Status: Open
+Status: Bogus
Bug Type: Session related
Operating System: Windows 2000
PHP Version: 4.3.5RC3
New Comment:
Sorry, but 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 as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
.
Previous Comments:
------------------------------------------------------------------------
[2004-02-25 12:59:41] bernardino_lopez at yahoo dot com
Description:
------------
After Install PHP in Windows 2000, with Apache 2 and MySQL noticed a
problem with Register_Globals.
################################################
Warning: Unknown(): Your script possibly relies on a session
side-effect which existed until PHP 4.2.3. Please be advised that the
session extension does not consider global variables as a source of
data, unless register_globals is enabled. You can disable this
functionality and this warning by setting session.bug_compat_42 or
session.bug_compat_warn to off, respectively. in Unknown on line 0
################################################
This is trying to create a MySQL Based session managment, when I
modified the c:\winnt\system32\php.ini to modify register_globals On =>
Nothing seems to happen
Reproduce code:
---------------
<?
# mysession.php Is the MySQL Based Session Management just # like
SourceForge Require
require "mysession.php";
echo "<hr>";
echo " Page2 ";
echo " <br> Register Dino ";
session_register("dino");
$dino="Bernardino Lopez";
echo "<hr>";
?>
Expected result:
----------------
Expected a successfull creation of a Record in the mysession table
which means is a Custom Session.
Actual result:
--------------
Error on the page, no Session Variable is able to be declared and
managed properly. Seems like no session support at all with the MySQL
based session system
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27396&edit=1
Thread (2 messages)