You are here: Re: [PHP] Question about session « PHP « IT news, forums, messages
Re: [PHP] Question about session

Posted by "Richard Lynch" on 11/14/05 22:15

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация