Re: newbie question regarding URL parameters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Jim the Standing Bear,

  register_global
 
  try use
  $name=$_GET['name'];
  $age=$_GET['age'];

Best regards, 
  
======= At 2007-01-06, 10:05:40 you wrote: =======

>Hello,
>
>I have a newbie question regarding URL parameters.  The PHP script I
>wrote need to read parameters passed in from a URL, so as an example
>
>http://my.domain/myscript.php?name=me&age=27
>
>and my script would use $name to get the value for name and $age to
>get the value for age.
>
>Everything was working fine until the sysadmin did a upgrade of the
>PHP server, and $name and $age both give me nothing.
>
>I am just wondering if the latest version of PHP has changed the way
>to access url parameters. If so, what would be the correct way of
>doing it?  Please help. Thanks.
>
>- Jim
>
>-- 
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>
>

= = = = = = = = = = = = = = = = = = = =
			
Nicholas Yim
nick.yim@xxxxxxxxxx
2007-01-06

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux