# Flash-Based Email Form Using PHP!

**URL:** https://forum.kirupa.com/t/flash-based-email-form-using-php/108321
**Category:** Uncategorized
**Created:** [April 23, 2004, 6:44pm UTC](https://forum.kirupa.com/t/flash-based-email-form-using-php/108321 "2004-04-23T18:44:40Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![red\_A](https://avatars.discourse-cdn.com/v4/letter/r/48db29/32.png) [@red\_A](https://forum.kirupa.com/u/red_A)
#### Post date: [April 23, 2004, 6:44pm UTC](https://forum.kirupa.com/t/flash-based-email-form-using-php/108321/1 "2004-04-23T18:44:40Z")

</div>

i’m having truble with this tutorial! i don’t know if i have done it right i mean ive done the whole tutorial start to finish, but when i uploaded the files to the server…it wont work!!!

how do i check, ive already put in my htdocs folder of my apache sever and it works but not on the webserver?  
\<?  
here’s the code as in the tutorial"  
$Subject = “Test E-mail”;  
$toEmail = "beto\_pr83@hotmail.com";

if(submit)  
{  
mail($fromEmail, $Subject, $nMessage."  
From: “.$fromName.”\<".$fromEmail."\>");  
}  
?\>

\<html\>  
\<head\>  
\<title\>Mail Tutorial\</title\>  
\</head\>  
\<body bgcolor="#FFFFFF"\>  
\<form method=“post” action="\<? echo($PHP\_SELF) ?\>"\>  
Your E-mail:

\<input type=“text” name=“fromEmail” size=“25”\>

Your Name: \<input type=“text” name=“fromName” size=“25”\>

Your Message:

\<textarea cols=“50” rows=“5” name=“nMessage”\>Your Message Here…
