[PHP] Re: Variables aren't being passed to php page
Jason Wong wrote: > On Monday 15 July 2002 03:55, Tim Luoma wrote: > >>Jason Wong wrote: >> >>>This list gets at least one question a day on this subject ... >> >>And there will be a lot more as people scan the web for example scripts >>and find ones that assume 'register_globals' is set to on. > > Questions coming from those sources are partly understandable. It was confusing to me to wonder why from one day to the next the same scripts stopped working, until I checked the PHP version. > What I was referring to was the particular case of "I've got an application > that was working perfectly using php X.XX, then I upgraded to php Y.YY and > now it doesn't work anymore". > > It is those people who should look before they leap and read before they > upgrade. Quite right. TjL -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Variables aren't being passed to php page
On Monday 15 July 2002 03:55, Tim Luoma wrote: > Jason Wong wrote: > > This list gets at least one question a day on this subject ... > > And there will be a lot more as people scan the web for example scripts > and find ones that assume 'register_globals' is set to on. Questions coming from those sources are partly understandable. What I was referring to was the particular case of "I've got an application that was working perfectly using php X.XX, then I upgraded to php Y.YY and now it doesn't work anymore". It is those people who should look before they leap and read before they upgrade. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* If all the world's a stage, I want to operate the trap door. -- Paul Beatty */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Variables aren't being passed to php page
Jason Wong wrote: > This list gets at least one question a day on this subject ... And there will be a lot more as people scan the web for example scripts and find ones that assume 'register_globals' is set to on. TjL -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Variables aren't being passed to php page
This is no problem. Since PHP 4.2 register_globals is disabled by default (in prior versions it was enabled). Either you can use the $_POST, $_GET etc. arrays or simply set register_globals in the php.ini to "On" ! -micha Mike Heffner wrote: > Hi, > > I've recently upgraded from PHP 4.0.4p11 -> PHP 4.2.1, but now there seems > to be a problem that variables from POST/GET are not being passed to the > PHP page. For example, with the following file test.php, using the URL > 'test.php?mid=1' displays 'nope'. > > if (isset($mid)) > echo "$mid"; > else > echo "nope"; > ?> > > Is this a known problem, or is this some configuration issue? > > Thanks for any help, > > Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php