Check your php version. if its greater then 4.1.0, then you must either
enable 'register_globals' in your php.ini, or use $_GET['var'] or
$_POST['var'] to get data from a form

----- Original Message -----
From: "Mike Heffner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 14, 2002 2:36 AM
Subject: [PHP] Variables aren't being passed to php page


> 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
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to