Re: [PHP] Re: querystring and PHP 4
on 05/12/02 11:10 AM, Dave ([EMAIL PROTECTED]) wrote: > php.ini file, find a line called... > > register_globals = On > > > ... and make > > register_globals = Off > > that's it. It's worth pointing out that you'll be forced to write smarter, more secure scripts with register_globals = Off, so it's worth considering leaving it as-is, and updating your code (and production server). Justin French http://Indent.com.au Web Development & Graphic Design -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: querystring and PHP 4
php.ini file, find a line called... register_globals = On ... and make register_globals = Off that's it. "Dan Wade" <[EMAIL PROTECTED]> wrote in message 002f01c29bf1$73ed4b70$[EMAIL PROTECTED]">news:002f01c29bf1$73ed4b70$[EMAIL PROTECTED]... > Hello, > > i'm grabbing querystring data like: > www.myserver.com/foo.php?id=bar > > echo $id; > ?> > > It works like a champ on dev server using php 3 but the sys admin > use PHP 4 on the production box and the querystring is no longer being > passed. > I can't imagine this changed from version to version. > > Is he missing something in his install? > > thanks, > > -Dan > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php