Re: Can't Pass variable to other page
| From: | Ben | Date: | Thu, 07 Aug 2003 09:25:57 +0000 |
| Subject: | Re: Can't Pass variable to other page | ||
| References: | 1 | Groups: | php.general php.windows |
| Request: | Send a blank email to php-general+get-158628@lists.php.net to get a copy of this message | ||
I had the same problem a couple of weeks ago.
register_globals=On
magic_quotes_runtime=Off
Ben
"Jack" <nedcor4@nedcor.com.hk> wrote in message
news:20030807085149.7456.qmail@pb1.pair.com...
> Dear all
> I had write a script like this :
>
> $link = "page.php?day=$day&month=$month&year=$year";
>
> when i click on the link, it should pass the parameter to "page.php" with
> $month and $year variables.
> It actually works fine in php4.2.1, but when i went to other office which
> got php5.0 above installed, using the same script, but it won't pass any
> parameters to page.php! How come?
>
> I heard there is something to set in the php5.0's php.ini before i can do
> so, is that right?
>
> Please could anyone give me a hand on this?
>
> Thx alot
>
> Jack
>
>