I'm pretty sure it's not $_SERVER["QUERY_STRING"], it's 
$_SERVER['QUERY_STRING'] (note the ' instead of ").

HTH.

  Oscar F.-


Miles wrote:

> When trying to get $_SERVER["QUERY_STRING"] I am getting 'Undefined index 
>QUERY_STRING' error
> 
> If there is a query string, e.g.  www.site.com/index.php?hello_world then it IS 
>defined.  So it seems that PHP is complaining about undefined variables, rather than 
>just outputting nothing.
> 
> How can I fix this?  I've had no problems until i reinstalled php today...
> 
> Cheers,
> 
> Miles
> 
> 



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

Reply via email to