Re: Re: Can't Pass variable to other page
| From: | Miha Nedok | Date: | Thu, 07 Aug 2003 11:50:18 +0000 |
| Subject: | Re: Re: Can't Pass variable to other page | ||
| References: | 1 2 | Groups: | php.general php.windows |
| Request: | Send a blank email to php-windows+get-21059@lists.php.net to get a copy of this message | ||
Or access you variables via $_GET.
$varname = $_GET['varname'];
-Mike
On Thu, 7 Aug 2003, Ben wrote:
> Date: Thu, 7 Aug 2003 10:25:57 +0100
> From: Ben <duffy_ben@hotmail.com>
> To: php-windows@lists.php.net, php-general@lists.php.net
> Subject: [PHP-WIN] Re: Can't Pass variable to other page
>
> 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
> >
> >
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>