Re: GET & POST don't work
| From: | Chris Hewitt | Date: | Wed, 12 Jun 2002 15:39:07 +0000 |
| Subject: | Re: GET & POST don't work | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-7307@lists.php.net to get a copy of this message | ||
Dragon,
You don't show us your code but I expect the problem is because register_globals is off (which is the default setting).
For those get vars, $_GET("var") should work, and for post, $_POST("var").
Hope this helps
Chris
Dragan KONTIC wrote:
Hello, I installed PHP4.1.2 with apache 1.3.23 and Oracle 8i (8.1.6) Everything works fine (Database connection, php functions etc) except the GET & POST methods. When I try to do http://myserver/index.php?a=10 and echo $a there is not any value in a. Any idea? thanks Dragan KONTIC dkontic@zentropypartners.com (Zentropy:Partners)