# Php contact form inoperable

**URL:** https://forum.kirupa.com/t/php-contact-form-inoperable/100246
**Category:** Uncategorized
**Created:** [January 27, 2004, 10:09am UTC](https://forum.kirupa.com/t/php-contact-form-inoperable/100246 "2004-01-27T10:09:33Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![cybereaper](https://avatars.discourse-cdn.com/v4/letter/c/a587f6/32.png) [@cybereaper](https://forum.kirupa.com/u/cybereaper)
#### Post date: [January 27, 2004, 10:09am UTC](https://forum.kirupa.com/t/php-contact-form-inoperable/100246/1 "2004-01-27T10:09:33Z")

</div>

I’m trying to develop a php/flash contact form. To start, I’ve downloaded about a million templates (including kirupas) so I could learn. After posting (what seemed to be the easiest) to a test web page, I do not seem to have much luck. I will attach the FLA I’m using. Here’s the PHP script (I’ve changed personal addresses only for posting reasons):  
\<?

$to = "myemail@provider.com";  
$msg = "$name

";  
$msg .= "$message

";

mail($to, $subject, $msg, "From: My web site  
Reply-To: $email  
");

?\>

I placed the .swf in an html page as follows:  
\<html\>  
\<head\>  
\<title\>Untitled Document\</title\>  
\<meta http-equiv=“Content-Type” content=“text/html; charset=iso-8859-1”\>  
\</head\>

\<body bgcolor="#FFFFFF" text="#000000"\>  
\<table width=“100%” height=“100%” border=“0” cellspacing=“0” cellpadding=“0”\>  
\<tr\>  
\<td align=“center”\>\<object classid=“clsid:D27CDB6E-AE6D-11cf-96B8-444553540000” codebase=“[http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0](http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0)” width=“300” height=“300”\>  
\<param name=movie value=“[http://mysite/fss/srs/form.swf](http://mysite/fss/srs/form.swf)”\>  
\<param name=quality value=high\>  
\<embed src=“[http://mysite/fss/srs/form.swf](http://mysite/fss/srs/form.swf)” quality=high pluginspage=“[http://www.macromedia.com/shockwave/download/index.cgi?P1\_Prod\_Version=ShockwaveFlash](http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash)” type=“application/x-shockwave-flash” width=“300” height=“300”\>  
\</embed\>  
\</object\>\</td\>  
\</tr\>  
\</table\>  
\</body\>  
\</html\>

I the same directory lies:  
PHP file  
.swf file  
.html file  
The program goes to the thankyou screen, but I am not receiving an email response. Any idea why?
