Cgi Mail Form
Hi guys... can anyone please tell me a good and effective way to make a flash mail form with cgi??? I used php before and it worked like a charm, but this time around I have just cgi... so any help will be greatly aprecciated!!
KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 03-25-2005, 01:42 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Flash/CGI E-mail Form -- Form Sends Info To E-mail? HELP Please (AIM/ICQ)
I am trying to make a flash file where you enter in information and then you click send and it sends the data in the form to my e-mail address. I tried customizing all of the cgi ones from the movies section of flashkit, and modifyied the cgi script accordingly. No matter what I've tried, I won't receive the information in my e-mail. For me, this matter is too hard to resolve over e-mail or a forum, so if you would like to, please help me out over instant messenger. I will be online under AIM name: blizzardmedia and ICQ number 64322480
Thanks for your help.
PHP Form-mail Being Recieved As JUNK-MAIL
hello, i'm having trouble with a PHP form-mail for flash that i grabbed from http://www.bigjolt.com
i tried contacted the dude himself, but no response.
the problem is that after the form clears, i recieve the mail
in my Hotmail 'junk-mail'
i tried adjusting my Hotmail junk-mail filter but had no luck.
plus if i email myself on the form, it should just be like emailng yourself through a regualar email client, which doesnt go to the junk mail box.
basically i need a PHP script with a flash-form thats easy to configure, and that also sends a custom message back to the user.
you can try out the one i have right now here:
http://zain.squarepusher.info
and see if it comes in your junk mail or what??
thanks a lot!~
~Zain
Not Receiving E-mail From Mail Form
Hey all,
I know that there have been dozens of posts regarding mail form problems. I've read over all of them, but haven't found anything to help with my problem.
I have a very simple mail form on my flash site, and am using a .php file to handle the information and send it to my email. It all appears to be functioning correctly, except I'm not receiving my emails.
I've checked with my server and they said everything appears to be in order, and it must be a problem with my script. I've done this many times in HTML, but this is my first in Flash. Any help is greatly appreciated!
I'm attaching my flash file, and I'll print my .php below.
<?
$adminaddress = "form@outshinewebdesign.com";
$siteaddress ="http://www.outshinewebdesign.com";
$sitename = "Outshine Web Design";
//No need to change anything below ...
// Gets the date and time from your server
$date = date("m/d/Y H:i:s");
// Gets the IP Address
if ($REMOTE_ADDR == "") $ip = "no ip";
else $ip = getHostByAddr($REMOTE_ADDR);
// Gets the POST Headers - the Flash variables
$action = $HTTP_POST_VARS['action'] ;
$email = $HTTP_POST_VARS['email'] ;
$name = $HTTP_POST_VARS['name'] ;
$comments = $HTTP_POST_VARS['comments'] ;
//Process the form data!
// and send the information collected in the Flash form to Your nominated email address
if ($action == "send") {
//
mail ("$adminaddress","Info Request",
"A visitor at $sitename has left the following information
Name: $name
Email: $email
The visitor commented:
------------------------------
$comments
Logged Info :
------------------------------
Using: $HTTP_USER_AGENT
Hostname: $ip
IP address: $REMOTE_ADDR
Date/Time: $date","FROM:$adminaddress" ) ;
//This sends a confirmation to your visitor
mail ("$email","Thank You for visiting $sitename",
"Hi $name,
Thank you for your interest in $sitename!
Cheers,
$sitename
$siteaddress","FROM:$adminaddress") ;
//Confirmation is sent back to the Flash form that the process is complete
$sendresult = "Thank you. You will receive a confirmation email shortly.";
$send_answer = "answer=";
$send_answer .= rawurlencode($sendresult);
echo $send_answer;
} //
?>
Help: Form Mail (CGI-style Email Form) In Flash
Anyone have a nice .FLA file to share so I can get in and play with the AS?
I need to setup a CGI-style email submission (request info, etc) completely within the MX2004 pro environment--for a client.
I'm not completely fluent in AS2.0, but I can run with changing the fields and calls so long as the sample is not too complex.
Much appreciated.
Simple Form Troubleshoot For Form Mail
Hey guys...
I can't get the attached form to work no matter what I do. I have to use my host's form mail script. This file is loaded with a loadmovie command on level 3...if that matters.
thank you so much for your time...this is killing me.
tony
Mail Form Via Cgi
well i have done a cgi that get few variables as input (email subject ecc...) and returns an html page... i was usin it on html form.
well now i made a flash movie that sends variables to that cgi but i have 2 questions:
1- do i have to use the "load variables" or "geturl" to push the variables into the remote cgi...
2- the cgi gives me an html back, but i d like it to send a signal to the flash movie to notice that the message is sent... then i could go to another frame... for example for displaying "MESSAGE SENT" in the same flash movie
can you help me?
thanx
please mail me also at komarek@mail.cz
E-mail FORM
I'm trying to bulid a feedack form that will send the info people type to my e-mail. I've tried the tutorials, but I don't know what I'm doing with the cgi script, so it doesn't work. Can someone help?
Form To Mail CGI
hello
Ok i have flash five, and I have looked for a tutorial or an open source file that deals with form to mail cgi but have not found anything that works. Am i looking in the wrong places?
I would very much appreciate if someone could send me an example along with the actual cgi script itself.
thankyou
PHP Mail Form...please Fix
Okay guys, here's what's going on.
First, go check out my website <http://www.brentrobbins.com>. On the "contact" page I have my mailform. It does not work, it just sits there and says, "Sending Data...."
HERE'S THE SCRIPT FOR THE PHP FILE (pasted directly):
<?php
$TextVariable = '&results=';
$response = 'Data Sent. Thank You..';
echo $TextVariable;
echo $response;
/* recipients */
$recipient .= "<brent@brentrobbins.com>" ;
/* subject */
$subject = "Your Automail";
/* message */
$message .= "Name: $name
Email: $email
Comments: $comments
";
/* additional header pieces for errors, From cc's, bcc's, etc */
$headers .= "From: $name <$email>
";
/* and now mail it */
mail($recipient, $subject, $message, $headers);
?>
AND HERE'S THE SCRIPT I HAVE FOR MY 'SUBMIT' BUTTON:
on (release) {
// logical operator checks length. IndexOf checks for "@" and "." characters in e-mail
if (!email.length || email.indexOf("@") == -1 || email.indexOf(".") == -1) {
results = "Please check your e-mail address.";
} else if (!comments.length) {
results = "Please enter your comments.";
} else if (!name.length) {
results = "Please enter your name.";
} else {
loadVariablesNum ("http://www.brentrobbins.com/mailform.php", 0, "GET");
results = "Sending Data...";
}
}
I HAVE THREE INPUT TEXT FIELDS CALLED, "name," "email," and "comments," and one dynamic text called, "results."
OKAY SO WHAT AM I DOING WRONG?
Mail-a-form & F4
I have a message-form made in Flash 4 that sends data to a non-changeable script (mail-a-form).
On submitting your message I call the script via Get URL ("/cgi-bin/mail-a-form", window="_blank", vars=POST)
The script sends you to a thankyoupage. This page is set in flash via Set Variable: "nextpage" = "http://........."
There's no way of changing the script but is there a way to not to be send to a nextpage?
Or closing the nextpage immediately after it is opened? ( I tried using javascript but there's a dialogue box popping up to confirm closing the window. This because the window is not opened with javascript)
Thanks in advance
Ivo
E-mail Form
I want to create a form in flash that someone can e-mail to me without knowing my e-mail. in other words I want to create a form for people to e-mail me about whatever. but at the same time I don't want them to know my e-mail addy. I am aware that this may take some pearl or something like that. I can use all the help I can get thank you.
boa743
FORM MAIL CGI
Hi Could anyone point me to a place where i can learn and create form mail using CGI Script with Flash 5.
Or if you have a simple FLA. that would be great
Mail Form
I am relatively new to web/flash programming and would like to know if it is possible to create a flash mail form on a website without the need for PHP?
E-mail Form Help
Alright, on my "contact" page I have one text input box which is a message box... How can i make it so after the user enters their message and hits a key suck as "s", that the message will then send to my e-mail adress? Can somebody please give me the action script code for this to work please (i am not really experienced with action script, so i have no idea how to script this.) I appreciate any help on this matter. Also if it is not too difficult how would i make so they couldn't accidently hit "s" and send me back the already preloaded text that i have in the textfield? I hope you understand what I am trying to articulate...Thanks-
Mail Form
Does anybody know how I can make a simple mailform in flash, without PHP and CGI ?
Is it possible without those two "tools"?
Can anybody give me an example or the full form?
Thanks in advance
Greetings
E-mail Form
Is there anyway to get results from a form to e-mail to a specific e-mail address directly from flash?
And is it possible to allow people to register for a username and password with flash only. Security is not that important, mostly the username and password is for keeping things straight.
E-mail Form (ASP Not PHP)
I am looking for a tutorial that will teach me to make an e-mail form that uses ASP not PHP. Someone please kindly help me.
Thanks in advance!
Mail Form
Hi,
I have a Mail Form (see AS below) which is working fine if it's located in _root. Now I'd like to place it in _root.MC1.MC2
What changes do I have to make to the variables so that the goPostal function will still be working?
Natsurfer
formData = new LoadVars();
formData.name = "";
formData.email = "";
etc..
function goPostal(){
formData.sendAndLoad("http://abc.com/cgi-bin/mail.cgi", "post");
}
Mail Form PHP
HELP! I've tried everything. Just about every mail form I could find I even bought the php friendsofed book. They all do the same damn thing...they just send an email with nothing in it. No matter what i write. I have no idea what I'm doing wrong...the variables look fine and the php seems to be working since its sends me an email....just it has nothing in it.
PLEASE HELP!!
THanks,
Brian
Mail Form
I'm using this method as a contact form in my project
http://www.flashkit.com/tutorials/In...78/index.shtml
It works great on it's own, but when i use it as a movieclip and load the movieclip to a another timeline, the form doesn't work... could anyone help please?
E-Mail Form
Hi,
I hope somebody can help me here. I was trying to create a E-Mail Form and to send the information with php. I found a good tutorial (http://www.flashkit.com/tutorials/Dy...58/more5.shtml) and created it. Now that I'm finished it doesn't work!
I'll tell you what I did. First of all, the form is found on http://www.exdw.de/index2.html on the contact part (it's german, go to "Kontakt").
The input fields and the send button are in the same layer. All the Textfields are Input Texts, Single line and got variables. The send button has the action:
on (release) {
loadVariablesNum("http://www.exdw.de/html/cgi-bin/snowMailPHP.php", "0", "Post");
gotoAndPlay(90);
}
The php-script can be found on http://www.exdw.de/html/cgi-bin/snowMailPHP.php.
Please help me and tell me what I made wrong!? Big THANKS in advance!
Mail Form
i need to know how i can make a mail form in flash, that i can received the mails in the outlook Express
Mail Form
Hi, I´ve tried creating a contact form in flashMX using php but nothing works. Tried using some stuff i got from hotscripts.com but that just cost me half a head of hair. Does anyone know a simple solution to this...
Please... help me keep my hair. I don´t think i´d look to good bald.
Form Mail Help
ok, i have a movie clip with a form in it. It has Name, Email, and Descripion areas to type in. the names of the areas are as follows:
Name
Email
Details
Im not exactly sure where to go from here. I have my submit button with no actions in it yet. I need it to send the completed form to jctv@jeffco.edu.
If anyone can help me from here i would be very grateful...our servers are Unix Standard, but i dont know much about the actual script side of things if anyone can help....thanks
E-mail Form With Php
I downloaded an e-mail form.
Then, I changed the valueable of the action script.
it was"mailPHP.php" but it is now "http://www.shoppingww.com/flash/mailPHP.php" It is where the php file is located.
When I test the movie (ctrl+enter), I can receive e-mails. But when I upload the movie and test it out, I don't receive e-mails.
do I need to change something?
I attached a .fla file and .php file.
Please help me.
I have been struggling with this for the past few days.
I can't sleep!!
Thank you.
E-mail Form
hello everyone..so im doing an email form right now..
big problem.. the host doesn't support PHP, CGI scripts or whatever
what now? is there any other way to fix this?!
thanx
Form Mail
Hey Flashers, I'm not getting my perl script, or cgi script to work. For some reason the server-side scripts are not catching my form or e-mailing the form to my e-mail address. Here are my codes:
On the time line of the form, I have these codes:
function SendTheForm (mailerMC){
SendMail = new LoadVars ();
SendMail.attn = mailerMC.attn.text;
SendMail.from = mailerMC.from.text;
SendMail.subject=mailerMC.subject.text;
SendMail.telno=mailerMC.telno.text;
}
SendMail.onLoad = function (success) {
if (success) {
response="Your message was delivered";
}else{
response ="Delivery failed; please try again or send your more conventionally";
}
}
Now, on your button, I have this code:
myButton.onRelease = function () {
SendMail.send("http://www.mywebsite.com/cgi-bin/myform.pl", SendMail, "POST") ;
}
Now, my problem is the script...everyone I use, perl or cgi, is not working...can I get any further assistance...thanx in advance
Need A Mail Form
Anyone know of a easy mail form i could use, php or asp better?
thanks
Need A Mail Form
Anyone know of a easy mail form i could use, php or asp better?
thanks
Mail Form
What I have to do to have an email sender form im my webpage?? Is that possible??
I'm still newbie to all this stuff so if u could help I would apreciate it very much
Thanks in advance.
And if that's not too much can u comment on my forst website?
http://caramba.no.sapo.pt
Php Form Mail PLEASE HELP
ok,
i have been following a tute(http://www.flashkit.com/tutorials/D..._-658/more5.php), but to no avail
here is the code i have
this is in the flash movie
--------------------------------------------------------------------
on (release) {
if (!emalTxt.text.length || emalTxt.text.indexOf("@") == -1 || emalTxt.text.indexOf(".")== -1 ) {
EmailStatus.text = "Please enter a valid e-mail address";
} else if (!nameTxt.text.length) {
EmailStatus.text = "Please enter your name before sending";
} else if (!subTxt.text.length) {
EmailStatus.text = "Please enter a subject for your message";
} else if (!bodTxt.text.length) {
EmailStatus.text = "Please enter your question in the message";
} else {
loadVariablesNum("snowMailPHP.php", "0", "POST");
EmailStatus.text = "Sending... one moment .. or two.. sometimes it's faster then other times";
}
}
**************************************************
****************
this is the php script I have loaded to the same directory on the web
**************************************************
****************
<?
$ToEmail = "chosenson@excite.com";
$ToName = "Study Buddy";
$ToSubject = "Study Buddy User Post Mail";
$EmailBody = "Sent By: $username
Senders Email: $usermail
Post Subject: $subject
Post Question: $body
";
$EmailFooter="
Please send reply to: $username at: $usermail as soon as possible";
$Message = $EmailBody.$EmailFooter;
mail($ToName." <".$ToEmail.">",$ToSubject, $Message, "From: ".$username." <".$usermail.">");
Print "_root.EmailStatus=Complete - Your mail has been sent";
?>
------------------------------------------------------------------
the error checking works just fine. i just do not get the mail sent
the working example is at http://www.geocities.com/studybuddy...er/sb_user.html
this is by no means complete, but should still send mail
any help is greatly appreciated
chosenson
Form Mail
anybpdy know a really good tutorial on making a flash fom that works. I have tried tutorials but I cant figure out how to get it to work
Mail Form
I downloaded this form mail from flashkit, made all the changes required but it doesn't work. my server allow PHP so it's not the problem. Was I suppose to change the chmod or did I miss something?
http://www.flashkit.com/movies/Utili...4983/index.php
How Do I Do A E-mail Me Form?
ok, so i have an input text box with the variable name of "comments" and the instance name of "instance_comments". I have a submit push button with the instance name "submit". if i want, when you push the push button, the contents that the person wrote in the input field to be sent to the e-mail account of alli@alaird.com, what action script or whatever should I put in the submit button?!
alex
Mail Form In PHP
Hello,
I need to make a very simple form in flash which can input Name and E-mal address from the user and email them into a specified email address.
And i want to make it on PHP. I don't know PHP and flash scripting. I used pre made script but its not working, i have attached every file please advice me what to do.
Thanks,
Amir
MAIL FORM? Help
someone please help!!
here is what i am trying to do...
I want to have a form in flash where the visitor can choose from a small list who they want to email, then click that person. Then I would like them to be able to type in text which will be sent to that person's email address when the user hits a submit button. How can I do this? I would be willing to pay someone (not too much) to make/send me an example! but if your really nice, you'd help me for free...thanks!
Jake
E-Mail Form Help
Is it possible to make an e-mail form in Flash, without having to redirect it to a PHP or CGI page? I've searched everywhere, and all I find is how to do it with PHP, and I really don't know the first thing about PHP. So is there a way to just be able to send it straight through Flash? And without opening an e-mail form program (IE- Microsoft Outlook, AOL Write Mail). Someone Plz Help. Thnkz.
Form Mail?
Hi... does any of you there have an submitting form who work for shure? I need something like few fields for personal data and a field with his/her e-mail.
Can somebody please help me?
THNX
E-Mail A Form
Hi everyone.
I'm trying to send a form but I don't how to configure the action scrip for my server. I'm using a free hosting server www.geocities.com
Thanks, Bye
djjuank
Form To E-mail?
I have an html page with a form on it. I need the information that a user fills into the form to be sent to an email address via an asp file.
does anyone know the easiest way to do this...
please be gentle i am a newbie.
thank you
jbs
E-mail Form With Cgi-bin?
Hi,
I want to make a contact form where you can give your email, subject and message in the full flash site. There are tutorials, but they all work with php or some sort of database. As my webspace doesn't support this, I only can use the cgi-bin.
So how can I do this so that I can have this just like in a regular html page would???
Grtz,
Spirit Wolf
Php Mail Form
hi!
i´m trying yo make a contact form according to the tutorial found on this site (flash MX php mail form).
First of all i have my own domain and ftp access to my server (so i think i don´t need MySql or something like that).
Then i modify ,as the tutorial says, the mailform.php . Upload the following files:
form.html
form.swf
mailform.php
modelacion.htm (the file that takes me to FORM.HTML)
The original html file was called "index.html" as I already have one I rename it. But i dont think that could be a problem.
So I complete the form and hit the submit button .... and nothing happens, I mean nor an error or the confirmation mail.
If anyone can help me I´ll appreciate it.
by! Andrea.
So I uploaded all the files and
Sent E-mail Form
I want to make an e-mail form but i dont know the action script that i must use.I dont want to get the mail from the outlook but from hotmail any ideas plzzzzzzzzzzzz
Mail Form
Hi there,
I've been working with a new php form mailer. It works..and send the email, however i cannot get the error reporting to work...it doesn't tell you if it has sent or not. Please could someone look at the files, all included in attatchment, and see if they can help me out here. I think the problem might be with the php not sending the output=sent correctly..but im not sure.
Thanks in advance
Mail Form...please Help
Hi all,
I have made a contact mail form for my website by following
a tutorial in a magzine but, got a little loss by the example.
I attached a zip file containing what I have done so far, I would appreciate if someone could tell me, what code do I attach or is a long process?
Actionscripting with variables, arrays etc are a weakness at the moment so I'll be greatful for the help.
Mail Form
I want to put mail form on my site but I can't use the ones with PHP scripts because the server only accept cgi.
I coudn't find anything with cgi or the ones I found were so complex for me I coudn't figure it out (I am not a script-master)
So I tried to work with the built feedback form with MXpro using a training tutorial.. But I didn't understand how the connection from the server to the mail was made once all things are put into place in flash.
I put the fla used for the training for download here (go to the contact section). If someone could look at it to help me understand how the connection from server to mail work and what I am suppose to do.
feedback file
thanks!
Php Mail Form
http://www.flashkit.com/movies/Inter...9916/index.php
Hello
I'm trying to understand this php mail form.
It does work fine on its own but once in an another movie the status message get stuck to 'wait for confirmation', although the email is being sent properly. I tried to load it as external movie in container and in levels, converted it as an mc, gave it an instance name, changed the roots, try to give labels name to the frame... don't know what else to think?
I understood most of the php file except the use of rawurlencode (found the definition but it didn't help me much)
$send_answer .= rawurlencode($sendresult);
I would be really happy if someone could help me out and explain me where is the problem.
Thanks a lot.
PHP Mail Form
hi,
i'm using php to send mail but it keeps sending weird characters when i receive the mail...
has anybody an idea of what to do here ?
here's the code:
on the submit button in the fla:
on (release) {
// send variables in form movieclip (the textfields)
// to email PHP page which will send the mail
form.loadVariables("el_email.php", "POST");
}
in the php file:
<?php
$sendTo = "it_s_not_me@hotmail.com";
$subject = "subject";
$headers = "From: " . $_POST["name"];
$headers .= "<" . $_POST["email"] .">
";
//$headers .= "Reply-To: " . $_POST["email"];
$message = $_POST["message"];
mail($sendTo, $subject, $message, $headers);
?>
Thx
|