From: [EMAIL PROTECTED]
Operating system: Linux 2.4.18
PHP version: 4.2.2
PHP Bug Type: Session related
Bug description: Error in to register variables of sessions in functions
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 bug report at http://bugs.php.net/?id=22142&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22142&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22142&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22142&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22142&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22142&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22142&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22142&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22142&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22142&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22142&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22142&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22142&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22142&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22142&r=gnused