Joined: May 3rd, 2008, 2:02 pm Posts: 25 Location: Warrington, UK
|
Hi, further to a mail I posted recently I have been working on creating a contact form for a flash website using Opus. Here is what I do:
1. I create text input boxes and assign variables to them.
2. I create a Submit button and apply a Post Web Data action.
3. In the post web data I enter the full url of my mail.php file and add the variables to the source section.
4. The text of the mail.php (based on a post in this forum) looks like this:
<?php
$destination="keithhulse@nerdshack.com";
$name=$_REQUEST['name'];
$email=$_REQUEST['email'];
$subject=$_REQUEST['subject'];
mail($destination,$name,$email,$subject);
?>
5. I publish the swf, html & mail.php to my server which does allow php.
At the moment this is not working - I would appreciate any comments.
_________________ Many thanks,
Keith Hulse
|
|