Problem with HTTP_POST_VARS

From: Date: Fri, 26 Jul 2002 00:29:05 +0000
Subject: Problem with HTTP_POST_VARS
Groups: php.general 
Request: Send a blank email to php-general+get-109634@lists.php.net to get a copy of this message
Hello, I'm trying to do a simple form for a local organization and I'm running into problems with the server. I am unable to get any of the variables in the html code to post across to the php file. So, I'm figuring register_globals is off. So I change my code to use HTTP_POST_VARS and HTTP_GET_VARS and get this error: Parse error: parse error in /usr/local/etc/httpd/vhosts/htdocs/scripts/join.php on line 3 Here is a snippet of the first few lines of my code: <?php $Agree_to_Terms_of_Membership = HTTP_POST_VARS["Agree_to_Terms_of_Membership"]; $realname = HTTP_POST_VARS["realname"]; $Company_Name = HTTP_POST_VARS["Company_Name"]; $Description = HTTP_POST_VARS["Description"]; $Street_Address = HTTP_POST_VARS["Street_Address"]; I did a phpinfo and their ISP is running PHP Version 4.0B2 and I can see track_vars is on. What is going on here? Any suggestions as to what I'm doing wrong? Thanks. Rob.

« previous php.general (#109634) next »