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

Reply via email to