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.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to