Global variables, $_GET problem
| From: | Ruth Zhai | Date: | Wed, 24 Jul 2002 03:38:54 +0000 |
| Subject: | Global variables, $_GET problem | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-20735@lists.php.net to get a copy of this message | ||
Hello php friends,
We just upgraded our PHP to version 4.2.1. I realized that $var is no
longer available from www.url.com/myphp.php?var=3 . As instructed in the
document, we have tried two things:
1. I tried to use $_GET('var'), however, I got "Fatal error: Call to
undefined function: array() in /home/httpd/... " message. I have no clue
what this means, and what I have done wrong.
2. Set register_globals = on in the configuration file. This did not make
any difference.
I don's know what to do now. Your help is highly appreciated.
Ruth