# Please help the Flash form with PHP

**URL:** <https://forum.kirupa.com/t/please-help-the-flash-form-with-php/315203>\
**Category:** flash\
**Created:** [October 20, 2010, 7:16am UTC](https://forum.kirupa.com/t/please-help-the-flash-form-with-php/315203 "2010-10-20T07:16:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevin08](https://avatars.discourse-cdn.com/v4/letter/k/4491bb/32.png) [@kevin08](https://forum.kirupa.com/u/kevin08)\
**Post date:** [October 20, 2010, 7:16am UTC](https://forum.kirupa.com/t/please-help-the-flash-form-with-php/315203/1 "2010-10-20T07:16:27Z")

</div>

This two day looking for the Flash form, i already found, but still have a problem of the form, please some-body can help me,  
please see this mail PHP code following the Flash, the flash it’s ok, also, the form already send to the mail i request, but no any content, just only the Ip and the subject, so i think the mail PHP something wrong there, but i can’t find out, cause i didn’t know writing PHP as well. Tks again some body help

Kevin

\<?php

$name = $\_POST[‘name’];  
$email = $\_POST[‘email’];  
$message = $\_POST[‘message’];

$ip = $\_SERVER[‘REMOTE\_ADDR’];

// Set the email adress to recieve mails from this script  
$to = ‘name@doamin.com’;  
// Set the subject of mails sent by this script  
$subject = ‘Form Mail submission!’;

$content =  
’  
\<p\>A new form has been submitted in your website with this following information\</p\>

\<p\>  
\<b\>name: \</b\>’.$name.’\<br\>  
\<b\>email: \</b\>’.$email.’\<br\>  
\<b\>IP: \</b\>’.$ip.’\<br\>  
\<b\>message: \</b\>\<br\>’.$message.’  
\</p\>  
';

if(mail($to,$subject,$content))  
{  
echo ‘status=“Message Posted!”’;  
}  
else  
{  
echo ‘status=“Failed to post!”’;  
}  
?\>
