OZONE Asylum
Forums
Multimedia/Animation
Flash mail form
This page's ID:
30998
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Tried this "template" flash - PHP - mailbox with the following, also in same directory.. no success. with email mediation script I use is no problems, will need adjustments for flash I guess will try later anybody has a simple working flash form (a. script 1)? Fla: var senderLoad:LoadVars = new LoadVars(); var receiveLoad:LoadVars = new LoadVars(); sender.onRelease = function() { senderLoad.name = name.text senderLoad.email = email.text senderLoad.message = message.text senderLoad.sendAndLoad("http://www.mySite/email.php",receiveLoad); } receiveLoad.onLoad = function() { if(this.sentOk) { _root.gotoAndStop (6); } else { _root.gotoAndStop (7); } } PHP <?php $to = "me@mysite"; $subject = "Flash message"; $message = "Name: " . $name; $message .= "\nEmail: " . $email; $message .= "\n\nMessage: " . $message; $header = "From: $email"; $header .= "\nReply-to: $email"; $sentok = mail($to,$subject,$mmessage,$headers); echo "sentOk=" . $sentok; ?>
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »