If register_globals is turned off, that will not work. See :
http://www.php.net/manual/en/configuration.php#ini.register-globals
Check phpinfo()
<?php
phpinfo()
?>
For details on your settings, perhaps it is off. Try :
<?php
echo $HTTP_GET_VARS["contents"]
?>
And it should display : HOME : for you.
Regards,
Philip Olson
http://www.cornado.com/
On Thu, 8 Feb 2001, Steve Haemelinck wrote:
> I thought you can pass variables in PHP as in CGI.
>
> http://www.xy.com/index.php?contents=HOME
>
> contents should be available as variable, but it does not seem to work. Doe
> anyone has an idea why not?
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]