I need desperate help with this php code integrated with flash please


Posted on 16th Feb 2014 07:03 pm by admin

Can someone please help me with this php code which I have been stuck on for weeks . I am trying to send mail from a flash movie to an email address using php but the mail does not appear at the address at all. I am using php enabled server xampp and I have been told to make changes in the php config file which i have done but it still does not seem to work any help guys?

this is the php code

Did you know?Explore Trending and Topic pages for more stories like this.
<?PHP

$to = "dmm@live.co.uk";

$subject = "Flash Contact Form Submission";

$message = "Name: " .$_POST['theName'];

$message .="nEmail: " . $_POST[$'theEmail'];

$message .= "nnMessage: " .$_POST[$'theMessage'];

$headers = "From: $theEmail";

$headers .= "nReply-To: $theEmail";

mail($to,subject,$message,$headers);

?>

the flash code (actionscript 2.0)
stop();

var senderLoad:LoadVars = new LoadVars();
var recieveLoad:LoadVars = new LoadVars();

sender.onRelease = function () {

senderLoad.theName = theName.text;
senderLoad.theEmail = theEmail.text;
senderLoad.theMessage = theMessage.text;

senderLoad.sendAndLoad("http://duanmmm.co.uk/send.php",recieveLoad);
}

receiveLoad.onLoad = function() {
if(this.sentOK) {
_root.gotoandStop("success")
}
else {
_root.gotoAndStop("failed");
}
}
No comments posted yet

Your Answer:

Login to answer
232 Like 24 Dislike
Previous forums Next forums
Other forums

Libraries in C++
Hi all,

I have two libraries. one is based targeted on linux platform and uses another li

DirectoryIterator and Hacked Website
Hi Everyone.

My problem:
Some one has been sneaking in to my website hidden Iframes. I've

I need an iframe that calls up a different page according to the date
hi

I don't know any php (only html) and I urgently need to do the following:

I need a

getting most records by count
Code: [Select]<?php

$connect = mysql_connect("localhost","dam

My query is being run with no results.
I have this.

Code: function DropUser($duser_id, $user_email, $user_username) {

http to https
Hi,

Is there any specific method/condition to move an http:// page to https:// ?

Not connecting to DB using ruby, error:env.c:257:in oci8lib.so: ORA-12154:
Hi All,

I am trying to connect to the database server from the client server using ruby and f

Finding digits in variable containing text, and IDing them
$romanstock = "http://www.remoteprice.com/data.asp?storeid=123&itemcode=456&typ

styling a RadioButtonList
HiI need to have a radio button and close to it, its lable, then a space then another set of those.

Problem with passing variables
I'm not really a php programmer so I'm really struggling with this issue.

I have a banner s

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash