Re: php version difference - local installation very strict

From: Date: Mon, 02 Feb 2004 00:03:55 +0000
Subject: Re: php version difference - local installation very strict
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-176533@lists.php.net to get a copy of this message
i don't use register_globals - i have a function that massages data that mimics register globals' behaivior via dynamically named variables. which one should i set it to - E_NOTICE? ~Phillip Jackson "Dvdmandt" <dvdmandt@telia.com> wrote in message news:20040201232202.86491.qmail@pb1.pair.com... > Yes.. > error_reporting=E_ALL & ~E_NOTICE > in php.ini is most likely what your server uses.. :p > Also, register_globals might give you problems.. :p > > -- > // DvDmanDT > MSN: dvdmandt¤hotmail.com > Mail: dvdmandt¤telia.com > "Phillip Jackson" <tzmguitarist@hotmail.com> skrev i meddelandet > news:20040201231416.69441.qmail@pb1.pair.com... > > Hi all, > > > > It seems that the version on my local apache installation is more strict > > than the version on my production server. How can i counteract this > without > > potentially having to upgrade 300+ pages in my entire app? is there a > > setting in php.ini that i could locally kill some of this debugging info? > > Some examples of errors i'm getting locally: > > > > > > Notice: A session had already been started - ignoring session_start() in > > %siteroot%\admin\menu.php on line 9 > > > > Notice: Undefined index: success in %siteroot%\admin\menu.php on line 18 > > > > Warning: Cannot modify header information - headers already sent by > (output > > started at c:\inetpub\www\tommiezito\admin\data_entry\start.php:14) in > > %siteroot%\admin\data_entry\start.php on line 37 > > > > these errors are foreign to me as i have combed my code 100's of times > > before i deployed my app online 3 months ago. do i NEED this > newer,stricter > > version or can i install a deprecated one? > > > > any help would be amazing. > > > > ~pj

« previous php.general (#176533) next »