ID: 22142
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Feedback
Bug Type: Session related
Operating System: Linux 2.4.18
PHP Version: 4.2.2
New Comment:
Do you have register_globals = on ?
Previous Comments:
------------------------------------------------------------------------
[2003-02-09 22:04:05] [EMAIL PROTECTED]
file1.php
----------
<?
session_start();
function inicio()
{
$name="Paulo";
session_register("name");
}
inicio();
?>
----------
file2.php
----------
<?
session_start();
echo "Name: " . $name;
session_destroy();
?>
----------
The list of modules
-------------------
./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-xml'
'--enable-bcmath' '--enable-calendar' '--with-curl' '--enable-ftp'
'--with-gd=../gd-1.8.4' '--with-jpeg-dir=/usr/local'
'--with-png-dir=/usr' '--with-imap=../imap-2001.BETA.SNAP-0105220031'
'--with-mcrypt' '--with-ming=../ming-0.1.1' '--enable-magic-quotes'
'--with-mysql' '--with-pear' '--enable-safe-mode' '--enable-track-vars'
'--with-ttf' '--enable-versioning' '--with-zlib'
Thank's
by Paulo Augusto Borges Soares
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22142&edit=1