# Flash form problem when sending

**URL:** <https://forum.kirupa.com/t/flash-form-problem-when-sending/248236>\
**Category:** Uncategorized\
**Created:** [January 5, 2008, 2:54pm UTC](https://forum.kirupa.com/t/flash-form-problem-when-sending/248236 "2008-01-05T14:54:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![igotregistered](https://avatars.discourse-cdn.com/v4/letter/i/d07c76/32.png) [@igotregistered](https://forum.kirupa.com/u/igotregistered)\
**Post date:** [January 5, 2008, 2:54pm UTC](https://forum.kirupa.com/t/flash-form-problem-when-sending/248236/1 "2008-01-05T14:54:46Z")

</div>

## The problem I’m having is I believe on the php end. My host is godaddy and they only support their own form mail script. Nothing else. It’s called gdform.php. My form does send to my email, but all I get is: ie: recipient: That’s it

Here’s the form

## Your Name: Company: Telephone: E-mail: Your Message: reset submit

Here’s the “Submit” action script  
on (rollOver) {  
this.gotoAndPlay(“s1”);  
}  
on (releaseOutside, rollOut) {  
this.gotoAndPlay(“s2”);  
}

on (release) {  
for (i=1; i\<\_parent.fields\_descriptions.length; i++) {  
this[\_parent.fields\_descriptions\*[2]]=\_parent[\_parent.fields\_descriptions\*[1]];  
\_parent.reset\_txt(\_parent[“t”+i], \_parent.fields\_descriptions\*[1], \_parent.fields\_descriptions\*[2]);  
}  
this.recipient=\_parent.rec;  
i=undefined;  
getURL(“gdform.php”+\_parent.serv, “\_blank”, “POST”);

}

* * *

Here’s the godaddy gdform.php  
\<?php  
$request\_method = $\_SERVER[“REQUEST\_METHOD”];  
if($request\_method == “GET”){  
$query\_vars = $\_GET;  
} elseif ($request\_method == “POST”){  
$query\_vars = $\_POST;  
}  
reset($query\_vars);  
$t = date(“U”);  
$file = $_SERVER[‘DOCUMENT\_ROOT’] . "/…/data/gdform_" . $t;  
$fp = fopen($file,“w”);  
while (list ($key, $val) = each ($query\_vars)) {  
fputs($fp,"\<GDFORM\_VARIABLE NAME=$key START\>  
“);  
fputs($fp,”$val  
“);  
fputs($fp,”\<GDFORM\_VARIABLE NAME=$key END\>  
");  
if ($key == “redirect”) { $landing\_page = $val;}  
}  
fclose($fp);  
if ($landing\_page != “”){  
header(“Location: http://".$\_SERVER[“HTTP\_HOST”]."/$landing\_page”);  
} else {  
header(“Location: http://".$\_SERVER[“HTTP\_HOST”]."/”);  
}

?\>
