Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently January 9th, 2025, 8:36 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Flex, Contact Form & Post Web Data
PostPosted: September 9th, 2008, 6:36 pm 
Offline

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group