On Thu, Jan 8, 2009 at 9:50 AM, Al <news@xxxxxxxxxxxxx> 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 any more. >> I can define globals on again in .htaccess but rather not because it could >> be a big risk. >> to work again I have to spend a lot of hours to modify the code. boring >> job. but, I'm more concern does client has to pay the changes/upgrade or >> it's still "my obligation"? >> anybody had similar experience? >> >> thanks for any help. >> >> ll >> >> >> >> >> >> > > What's the magnitude of the problem? Are there a handful of files that > need fixing or hundreds? > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > 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. Anyways avoid this solution if you can completely. Its mandatory to script your code with reg globals off. Thanks, V