One too many $'s in your code, use:

    $_REQUEST['my_passed_variable']

This is how all arrays work, autoglobals are the same.
See also:

    http://www.php.net/variables.external
    http://www.php.net/variables.predefined

Regards,
Philip

On Wed, 29 Jan 2003, CF High wrote:

> Hey all.
> 
> This driving me nuts:
> 
>     I've got Apache, MySql, and Windows 2000 running on my local machine.
> In order to get passed php variables evaluated, whether via a url query
> string, or through a form post, I have to use this syntax:
> 
> $_REQUEST[$my_passed_variable]
> 
> I have no such problem with our hosting company servers; i.e. I can access
> query_string and form posted variables as $my_passed_variable.
> 
> What is going on here? Is there something in php.ini that needs to be
> adjusted?
> 
> Any help whatsoever here is much appreciated,
> 
> --Noah
> 
> --
> 
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


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

Reply via email to