View Single Post

  #1 (permalink)  
Old 01-06-2007
Jim the Standing Bear
 
Posts: n/a
Default newbie question regarding URL parameters

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
Reply With Quote