-
11-08-2008, 11:33 AM
#121
Hi,
one minor thing:
you somewhere have a colon rather than a semicolon:
Code:
<?php get_data("references"):?>
another minor thing: the email From header should read
Code:
From: "Application form" <you@yoursite.com>
so in php you want to say
Code:
$headers = "From: \"Application form\" <you@yoursite.com>";
-
11-09-2008, 06:08 PM
#122
Hey Guys,
Thanks for your help, getting things working again, started modifying it again
and every time i attempt to submit it im getting 'Your email could not be sent at this time, (you've probably guessed i don't know a great deal about PHP, id rate my experience as novice)
http://www.55thdoncasterscouts.com/onlineapp.txt << theres the code again,
if you could give me an explanation in to how i went wrong it would be brilliant as i really want to broaden my knowledge on PHP (going to Uni soon to study Web Information systems & services , which engages in a considerable amount of PHP
Cheers!
-
01-13-2009, 02:29 PM
#123
Very useful thread
I am a newbie in flash but I am working to change that. Here is a newbie question for how often phpbb version change and if I use phpbb interface on my site I don’t need to use flash action script to create an interface?
I am designing my page using flash .swf
Can I use flash action script and phpbb on my page at the same time to have an interface?
-
02-12-2010, 10:48 AM
#124
Please help on this php Flash interaction problem
Hi,
It appears everyone gets a solution here...
Please help me too in resolving my problem related to passing of the login user detail from php to flash.
www.falifa.com
username: self_falifa1@live.com
pass: bijothomas
Please Click on Family Tree TAB.
Family Tree.swf displays the Familytree of the login user. For some strange reasons, the familytree is not displayed when accessed from certain machines. It appears that, this is because login userID is not passed properly to swf.
Kindly point out to me, what could be possibly wrong.
Thanks and Regards
Bijo
-
05-29-2010, 01:59 PM
#125
help!!!!!!
here's the PHP script I'm using to send mail with PHP from Flash. I have tried so many differents ways but no success.
The form has 3 input text boxes: theName, theEmail and theMessage
For a while I was receiving an empty email. Now I'm no longer getting anything. ALso I don't get any return message.
PHP Code:
<?php
if(!empty($_POST['theEmail']) || !empty($_POST['theMessage']) || !empty($_POST['theName']))
{
$to = "mathieubazinet@hotmail.com";
// replace with your mail address
$s_name = $_POST['theName'];
$s_mail = $_POST['theEmail'];
$subject = "Demande d'information';
$body = stripslashes($_POST['theMessage']);
$body .= "\n\n---------------------------\n";
$body .= "Mail sent by: $s_name <$s_mail>\n";
$header = "From: $s_name <$s_mail>\n";
$header .= "Reply-To: $s_name <$s_mail>\n";
$header .= "X-Mailer: PHP/" . phpversion() . "\n";
$header .= "X-Priority: 1";
if(@mail($to, $subject, $body, $header))
{
echo "output=sent";
}
else
{
echo "output=error";
}
}
else
{
echo "output=error";
}
?>
Actionscript Code:
stop();
var senderLoad:LoadVars = new LoadVars; var receiveLoad:LoadVars = new LoadVars;
sender.onRelease = function() { senderLoad.theName = theName.text; senderLoad.theEmail = theEmail.text; sendeeLoad.theMessage = theMessage.text; senderLoad.sendAndLoad("http://jessicagoyette.com/flash/form.php",receiveLoad); }
receiveLoad.onLoad = function() { if (this.sentOk) { _root.gotoAndStop("success"); } else { _root.gotoAndStop("failed"); } }
-
02-03-2012, 12:33 AM
#126
#6 works for me, seven also works, but not 5
tallbrownferret@gmail.com
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|