ID:               48412
 Updated by:       paj...@php.net
 Reported By:      plasmapermanent at msn dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Session related
 Operating System: Windows XP SP3
 PHP Version:      5.2.9
 New Comment:

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.




Previous Comments:
------------------------------------------------------------------------

[2009-05-28 12:31:33] plasmapermanent at msn dot com

Description:
------------
Just insert session_start() into code and got error.
I try to insert top of code. It still error.

Reproduce code:
---------------
Source Code
================
http://www.thaicybergames.com/webboard/index.php?topic=108158.0
================
MySQL
================
CREATE TABLE IF NOT EXISTS `p28officer` (
  `id` double unsigned NOT NULL,
  `user` char(20) COLLATE utf8_bin NOT NULL,
  `pass` char(20) COLLATE utf8_bin NOT NULL,
  `ldate` date DEFAULT NULL,
  `ltime` time DEFAULT NULL,
  `ip` varchar(15) COLLATE utf8_bin DEFAULT NULL,
  `lv` tinyint(4) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

INSERT INTO `p28officer` (`id`, `user`, `pass`, `ldate`, `ltime`, `ip`,
`lv`) VALUES
(999999999999, 'xxx', 'xxx', '2009-05-28', '20:02:00', '127.0.0.1',
9);


Expected result:
----------------
I just send variable name and pass into this page.
It would be can use session and remember "ssid" variable as session to
use in other pages.

Actual result:
--------------
This error (HTTP 500 Internal Server Error) means that the website you
are visiting had a server problem which prevented the webpage from
displaying.

If I remove that line. It work fine. But can't use session.
Juse enable that line this error was come.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=48412&edit=1

Reply via email to