FORUMS: list search recent posts

e-mail in flash without PHP

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Desiree Damon
e-mail in flash without PHP
on Jun 23, 2009 at 7:09:55 pm

I'm attempting to create an e-mail form at the end of a flash movie that prospective clients can fill out, click send, and an e-mail will automatically be generated to come to us with what they've put in (name, phone number, e-mail address)

I've already built the form, but when it comes to the code...

Problems/Restrictions:

- Our server can't handle PHP.
- The movie cannot open up ANY external application or web site.

I have a due date of the 2nd week of July, I am still pretty new when working with flash, and I am completely stumped. Any help is appreciated!!


Return to posts index

Mike Smith
Re: e-mail in flash without PHP
on Jun 24, 2009 at 9:41:27 am

Your movie can call a page. That page can have a script (like php, which you don't have, or in some other language.)

Many web servers support PHP, though Windows web servers often rely on .asp or .aspx for similar scripting functionality.

Have you asked your web host if you can do this with an .asp page - or exactly what they would suggest you use?

If you really can't call any kind of active server page or script functionality from your current web host for your Flash file then your auto e-mail is not going to work.


Return to posts index

Desiree Damon
Re: e-mail in flash without PHP
on Jun 24, 2009 at 12:43:03 pm

I know they've used asp. But I'm having a lot of trouble finding examples of actionscript code calling asp.

On the flash side, would I still call the page the same way I'd call a .php? Do I need to define my variables differently?


Return to posts index


Mike Smith
Re: e-mail in flash with asp / microsoft server
on Jun 24, 2009 at 4:30:03 pm

The Flash will be just the same. You make a form in Flash, you collect data, you store the data in variables, you pass the variables to a script, by calling a url ending .asp for the submit button.

Never have worked with .asp, but there are web resources like
http://www.asptutorial.info/script/formtomail/
http://www.tele-pro.co.uk/scripts/contact_form/
http://www.codefixer.com/tutorials/sample_form_email_script.asp

which might get you going. The form in your case is in your Flash. You need to make sure you are using all the same variable names in your Flash / AS and in your .asp page. While Windows servers are (normally? Always?) not case sensitive, AS is, so remain careful with cases ...






Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]