Re: post variables not working?? (Oops:))

From: Date: Fri, 13 Feb 2004 20:24:55 +0000
Subject: Re: post variables not working?? (Oops:))
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-12763@lists.php.net to get a copy of this message
Why don't you send a piece of your code ? Chris wilson wrote:
we're already using SUPERGLOBAL_POST, its just that they stopped working. the GET variables are coming through fine, just not the posts. also, I was told it would'nt be an intermittent thing. Does this make any sense? :) thanks! Chris if your post var is $name now you will have to cach it like: $name = $HTTP_POST_VARS['name']; Please read the security chapter in the manual. I also recommend you not to disable this feature in the php.ini. As the manual says, we should adapt our scripts to this way of work. n.b. for get vars $name = $HTTP_GET_VARS['name']; Hope this help. Chris Wilson wrote:
My post variables are not coming through when I submit a form, this seems to be an intermittent issue (it doesn't happen all the time, just randomly). Has anyone had this problem? Php 4.3.1 and apache 1.3.29 Any help would be greatly appreciated! =] Thanks!
-- Chris S. Wilson Network Administrator Net Connection of Bakersfield 661.282.7873 Toll-Free: 1.800.899.4490


« previous php.install (#12763) next »