Re: Question about session

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, November 11, 2005 7:09 pm, Bagus Nugroho wrote:
> I have session code which written WindowsXP and It wotk properly as
> expected, but when I'm used in Windows 2K, it got error as;
> Notice: Undefined index: loginMessage in
> C:\CentralData\forms\mainForm.php on line 65
> I'am used Apache 2.0 and PHP 5.0.4.
> Is  php.ini setting on W2K different with XP

The difference is you have:
E_ALL
on the Win 2K box, and:
E_ALL ~ E_NOTICE
on the XP box.

The bug is in your code in BOTH cases, but the message is being
suppressed by php.ini on the XP box.

Fix your code is the best answer.

Changing E_ALL to just E_ALL ~ E_NOTICE is a distant second.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux