Help convert my globals to $HTTP_POST_VARS

So here is the issue i’m making this form with flash/php from a tutorial and it works on my server…but when I placed on my clients server it does not works…he tells me this:

[SIZE=1] One thing I’ve noticed - the variables in your PHP script are globals,
but we don’t register globals because of the high security risk
involved. So you’d have to use $HTTP_POST_VARS to extract your variables
in the PHP script before you could use them. Perhaps the reason nothing
is happening in your script is because you’re not using the correct
variable names to extract your form data?

[SIZE=2]so here is my script…how would I format the parameters to [/SIZE][/SIZE][SIZE=1] $HTTP_POST_VARS [/SIZE][SIZE=1][SIZE=2]to work…thanks a ton for any help

[/SIZE][/SIZE][SIZE=1][SIZE=2]<? [/SIZE][/SIZE]
[SIZE=1][SIZE=2]
[/SIZE][/SIZE][SIZE=1][SIZE=2]// Enter your contact email address here
$adminaddress = " myemail@myemail.com";

// Enter the address of your website here include http://www.
$siteaddress =“http://www.awebsite.com”;

// Enter your company name or site name here
$sitename = “The company name”;

$date = date(“m/d/Y H:i:s”);

if ($REMOTE_ADDR == “”) $ip = “no ip”;
else $ip = getHostByAddr($REMOTE_ADDR);

if ($action != “”):
mail("$adminaddress",“Website Info Request”,
"A visitor at $sitename has left the following information

Name: $fname
Company: $lname
Email: $email
Telephone: $telno

The visitor commented:

$comments

Logged Info :

Date/Time: $date",“FROM:$adminaddress”);

mail("$email",“Thank You for visiting $sitename”,
"Hi $fname,

Thank you for your interest in $sitename!

Regards,
$sitename
$siteaddress",“FROM:$adminaddress”);

$sendresult = "Thank you. You will receive a confirmation email shortly. ";
$send_answer = “answer=”;
$send_answer .= rawurlencode($sendresult);
echo “$send_answer”;

endif;

?>
[/SIZE][/SIZE]