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
<?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");
}
}
retrieving images from mysql database using php
So I've been trying to figure out how to store images in a mysql database, and as far as i can tell the images are stored but getting them out seems to be the problem. when i try to go to the page on
MS Exchange 2007 integration with ECC 6.0
Hello Experts,
Newb advice
Hi all,I'm a flash front end designer and I've taken on a project that needs some back end php.It's not completely greek to me as I write actionscript in flash which is an OO language.However... I
PHP doesn't send my mail
Hi all, I found this and used it to send mail. Simple contact form with some required fields. The validation works a bit but I don't get the mail HTML:some Javascript...Code: [Select]<form
How to sum these output values
Hi
Help a newbee save my job !
Hey guys i am dying here i am new to php and would like for someone to help me with this problemi have a script that send information from a "form" but the probelm is that i need this to be
removing space from the end of a variable
i have a variable $image which contains the following url "http://tiles.xbox.com/tiles/oo/P5/0mdsb2JgbA9ECgR8GgMfWSpVL2ljb24vMC84MDAwIAABAAAAAP3Wg70=.jpg"but for some reason it is breaking
Easy administration on MySQL databases
My website is database driven and I am very tired of manually making queries to my tables in order to update my site. I decided to make a form that only I should have access to that PHP can filter and
How to clone an SAP ECC using bacup tape on z/os?
We want to clone our production to a different SID using backup tape.
How to make a mail Form secure?
I want to create an email Form on my web site. How can I make the Form secure so the submitted info going to the database gets there securely?