Re: newbie question regarding URL parameters

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

 



On Fri, 2007-01-05 at 20:57 -0500, Jim the Standing Bear 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
                             ^^^^^^^^^^^^^^^^^^^^^

Ummm, pull your head out of the sand (or whatever other dark recess you
have it stuck in). Register globals ini setting was defaulted to "off"
about 3 or more years ago :/

Cheers,
Rob.
-- 
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for       |
| creating re-usable components quickly and easily.          |
`------------------------------------------------------------'

-- 
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