Re: [PHP] Re: redoing website after 7 years

2009-01-12 Thread Andrew Ballard
On Sun, Jan 11, 2009 at 5:09 PM, Robert Cummings wrote: > On Mon, 2009-01-12 at 09:00 +1100, Chris wrote: >> Robert Cummings wrote: >> > On Fri, 2009-01-09 at 08:56 -0500, Andrew Ballard wrote: >> >> On Fri, Jan 9, 2009 at 2:09 AM, Robert Cummings >> >> wrote: >> >>> On Fri, 2009-01-09 at 15:17

Re: [PHP] Re: redoing website after 7 years

2009-01-11 Thread Chris
Robert Cummings wrote: On Mon, 2009-01-12 at 09:00 +1100, Chris wrote: Robert Cummings wrote: On Fri, 2009-01-09 at 08:56 -0500, Andrew Ballard wrote: On Fri, Jan 9, 2009 at 2:09 AM, Robert Cummings wrote: On Fri, 2009-01-09 at 15:17 +1100, Chris wrote: I know many people will grin at me fo

Re: [PHP] Re: redoing website after 7 years

2009-01-11 Thread Robert Cummings
On Mon, 2009-01-12 at 09:00 +1100, Chris wrote: > Robert Cummings wrote: > > On Fri, 2009-01-09 at 08:56 -0500, Andrew Ballard wrote: > >> On Fri, Jan 9, 2009 at 2:09 AM, Robert Cummings > >> wrote: > >>> On Fri, 2009-01-09 at 15:17 +1100, Chris wrote: > > I know many people will grin at me f

Re: [PHP] Re: redoing website after 7 years

2009-01-11 Thread Chris
Robert Cummings wrote: On Fri, 2009-01-09 at 08:56 -0500, Andrew Ballard wrote: On Fri, Jan 9, 2009 at 2:09 AM, Robert Cummings wrote: On Fri, 2009-01-09 at 15:17 +1100, Chris wrote: I know many people will grin at me for this solution but may be faster way to overcome this problem to do a fi

Re: [PHP] Re: redoing website after 7 years

2009-01-09 Thread Lamp Lists
From: Al To: php-general@lists.php.net Sent: Thursday, January 8, 2009 11:50:26 AM Subject: [PHP] Re: redoing website after 7 years Lamp Lists wrote: > hi guys, > I did php/mysql based website for one my client 7 years ago, in time when > register_globals was

Re: [PHP] Re: redoing website after 7 years

2009-01-09 Thread Robert Cummings
On Fri, 2009-01-09 at 08:56 -0500, Andrew Ballard wrote: > On Fri, Jan 9, 2009 at 2:09 AM, Robert Cummings wrote: > > On Fri, 2009-01-09 at 15:17 +1100, Chris wrote: > >> > I know many people will grin at me for this solution but may be faster > >> > way > >> > to overcome this problem to do a fi

Re: [PHP] Re: redoing website after 7 years

2009-01-09 Thread Andrew Ballard
On Fri, Jan 9, 2009 at 2:09 AM, Robert Cummings wrote: > On Fri, 2009-01-09 at 15:17 +1100, Chris wrote: >> > I know many people will grin at me for this solution but may be faster way >> > to overcome this problem to do a find for $ and replace with $_REQUEST. >> > even >> > this will help you i

Re: [PHP] Re: redoing website after 7 years

2009-01-08 Thread Robert Cummings
On Fri, 2009-01-09 at 15:17 +1100, Chris wrote: > > I know many people will grin at me for this solution but may be faster way > > to overcome this problem to do a find for $ and replace with $_REQUEST. even > > this will help you if you dealt with $_POST, $_GET, $_COOKIE. > > Please don't. > > $

Re: [PHP] Re: redoing website after 7 years

2009-01-08 Thread Robert Cummings
On Thu, 2009-01-08 at 20:10 -0800, VamVan wrote: > On Thu, Jan 8, 2009 at 9:50 AM, Al wrote: > > I know many people will grin at me for this solution but may be faster way > to overcome this problem to do a find for $ and replace with $_REQUEST. even > this will help you if you dealt with $_POST,

Re: [PHP] Re: redoing website after 7 years

2009-01-08 Thread VamVan
Yeah right. Don't use this solution no matter what if you have database connections , sessions or anything !!! Anyways I meant intelligent replace. :) Thanks, V On Thu, Jan 8, 2009 at 8:17 PM, Chris wrote: > > I know many people will grin at me for this solution but may be faster way >> to ov

Re: [PHP] Re: redoing website after 7 years

2009-01-08 Thread Chris
I know many people will grin at me for this solution but may be faster way to overcome this problem to do a find for $ and replace with $_REQUEST. even this will help you if you dealt with $_POST, $_GET, $_COOKIE. Please don't. $connection = mysql_connect(...) becomes $_REQUEST[$connection]

Re: [PHP] Re: redoing website after 7 years

2009-01-08 Thread VamVan
On Thu, Jan 8, 2009 at 9:50 AM, Al wrote: > > > Lamp Lists wrote: > >> hi guys, >> I did php/mysql based website for one my client 7 years ago, in time when >> register_globals was on by default. >> hosting company upgraded server to php5/mysql5 and turned globals off. the >> site is doesn't work