
05-02-2007, 11:53 AM
|
 |
|
|
Join Date: Dec 2004
Location: Almost out of PHP TZone
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by T_Richardson
I have a flash form and sends data via email. Would anyone know of a way to make a post in the forums by using the data sent by a flash form?
Part of my email.php
PHP Code:
<?php
$sendTo = "webmaster@website.com";
$subject = "Recruitment Form Submission";
$headers = "From: " . $_POST["firstName"] ." ". $_POST["lastname"] . "<" . $_POST["email"] .">\r\n";
$headers .= "Reply-To: " . $_POST["email"] . "\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "Return-path: " . $_POST["email"];
$game_name = "Game_Name: " . $_POST["game_name"]."<br>" ." Location: ". $_POST["location"];
mail($sendTo, $subject, $game_name, $headers);
?>
|
Yes it should be possible, but it will take some modifications. Zip yo files and upload T_Richardson. I shall take a look into implementing this. I was just thinking about creating some flash forms last month. Very busy so give me some time if you be interested.
Good luck
|