![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Expert Programmer
|
Hrml... I found the most interesting possibly bug today in PHP.... perhaps someone could help me verify this?
class User
{
var $nothing;
function User( )
{
return;
}
}
$_SESSION[user][7] = array( "Test1", "Test2" );
print_r( $_SESSION );
$user = new User;
print_r( $_SESSION );In my case $_SESSION[user] was being overwritten with $user. When I changed $_SESSION[user] to $_SESSION[users] the problem went away and $user no longer made its way into the $_SESSION array. I am running php version 4.3.8
__________________
Clifford Matthew Roche <geek@cliffordroche.com> Web Hosting: http://www.crd-hosting.com Consulting: http://www.crdev-consulting.com |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|