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 <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED], [EMAIL PROTECTED] > 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" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > 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 > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php