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 rob...@interjinn.com 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 rob...@interjinn.com wrote: On

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 rob...@interjinn.com 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

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 rob...@interjinn.com wrote: On Fri, 2009-01-09 at 15:17 +1100, Chris wrote: I know many people will grin at me

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 rob...@interjinn.com wrote: On Fri, 2009-01-09 at 15:17 +1100, Chris wrote: I know many

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 rob...@interjinn.com 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

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 rob...@interjinn.com 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

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

2009-01-09 Thread Lamp Lists
From: Al n...@ridersite.org 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

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

2009-01-08 Thread VamVan
On Thu, Jan 8, 2009 at 9:50 AM, Al n...@ridersite.org 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

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

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 dmag...@gmail.com wrote: I know many people will grin at me for this solution but may be

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 n...@ridersite.org 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

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.