PDA

View Full Version : Simple CGI Scripts


Chronix2005
05-26-2005, 02:55 PM
hey everyone, im new to macromedia flash, and i want to know how to create a CGI script for my input form. The action scripting for the form is this:

var feedbackForm:LoadVars = new LoadVars();

function sendForm() {
feedbackForm.email_to = "Chronix@Chronix-Music.net";
feedbackForm.visitor_name = contactForm.userName.text;
feedbackForm.visitor_email = contactForm.userEmail.text;
feedbackForm.visitor_comments = contactForm.userComments.text;

// feedbackForm.send("/cgi-bin/formmail.pl", "_blank", "POST");
}

i've commented out the last bit as this is just an example that is from a lynda.com tutorial cd rom. Now all i need is to create the CGI script, but how on earth do i do that? and how does it all work for what im trying to use it for? and the content i wish to send?

If someone can help me i will be very greatful!

Thanks

Regards

Chronix