#38928 [Opn->Fbk]: i am getting unserialize error on 64Bit.
| From: | johannes@php.net | Date: | Fri, 22 Sep 2006 17:10:55 +0000 |
| Subject: | #38928 [Opn->Fbk]: i am getting unserialize error on 64Bit. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-102538@lists.php.net to get a copy of this message | ||
ID: 38928
Updated by: johannes@php.net
Reported By: tsdreddy at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: Apache2 related
Operating System: windows2003
PHP Version: 4.4.4
New Comment:
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2006-09-22 16:50:44] tsdreddy at gmail dot com
Description:
------------
Hi
i am using php4.4.4/windows2003/64-bit os. i am getting unserialize()
error. the sam program and database is working fine in my old 32-bit
system. Pl. help me regarding this
thanks
reddy
Reproduce code:
---------------
if (!$perms) {
if ($group != -1) {
$data = $this->db->fetch("SELECT group_perms FROM
{$this->pre}groups WHERE group_id={$group}");
$perms = $data['group_perms'];
} else {
$data = $this->db->fetch("SELECT user_perms, user_group FROM
{$this->pre}users WHERE user_id={$user}");
$perms = $data['user_perms'];
$group = $data['user_group'];
}
}
$this->cube = unserialize($perms);
if (!$this->cube) {
$this->cube = $this->standard;
}
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38928&edit=1