View Full Version : How can I get this form to send via email?
01-07-2001, 05:55 AM
I've been at this all day (and now night). I have a simple feedback section that I want to allow users to fill out and then have it send that info via email. The form is sitting on level 1 of my main movie if that makes a difference. I'm using Flash 4.
The movie is here:
and click on feedback
My ISP does not support PHP from what I can tell so I don't think that is an option. Any suggestions? My eyes are sore from staring at this monitor .....arg
01-07-2001, 11:32 PM
You will have to use ASP or CGI then.
CGI is pretty easy and very standard. Chances are if your host doesn't support PHP then they wont suppost ASP, so stick with CGI if you can. There's opens ource which deals with submitting fors via CGI Mail here:
And more: http://www.flashkit.com/cgi-bin/movies/search.cgi?query=mail+cgi
My short experience with ASP was OK. It' not that hard but not nearly as nice as PHP. Checkout these open source which deal with ASP and Flash forms:
01-08-2001, 07:05 AM
Well.... I managed to get it working - sort of.
I'm using CGI and when I tested it locally it worked fine. I had a problem with this giant white page appearing after the info was sent. (THANK YOU FOR FILLING OUT THIS FORM, bla bla bla -- a standard form I suppose) I managed to work around it and I thought all was well.
However, after I uploaded the files to the server I wasn't receiving any email after the form was filled out. I made some changes but that giant white page is back. I don't want that to happen... boo hoo!
Get URL ("http://www.cadvision.com/cgi-bin/formmail", vars=GET) I had it working before using the load variables feature but that is no longer sending any email to me.
Any ideas? Here's the URL if you want to see it in action
Any help would be appreciated!
01-08-2001, 11:36 PM
Well your script is working fine. (Nice site by the way). I get
"Below is what you submitted to stev...
Comment: This is a test"
If you're not actualyl recieving the email check that you have permission to use SENDMAIL on your server. The email addy seems to be configure correctly.
01-08-2001, 11:44 PM
Thnaks for replying again. I did receive the email fine, but were you re-directed to that big white page?
I need to figure out how to stop that from happening.
01-09-2001, 12:30 AM
Oh I see. Yes I was redirected. And LoadVariablesNUM wont succefully run the CGI?
Perhaps edit the source of the CGI and add a 0 second META refresh tag so that the blank white page redirects to something else again.
That's all I can suggest.
01-09-2001, 12:58 AM
"And LoadVariablesNUM wont succefully run the CGI?"
Could you explain this further? Sorry to be such a pest about this. This is the first form I've set up and it's become quite a challenge.
01-09-2001, 07:47 AM
Well, when interacting with CGI and PHP in my own works, I use LoadVariablesNume rather than GetURL as it allows my user to stay in my flash file.... The syntax is just the same:
Get URL ("http://www.cadvision.com/cgi-bin/formmail", vars=GET)
but instead of GetURL you use LoadVariables...
vBulletin® v3.8.5, Copyright ©2000-2014, Jelsoft Enterprises Ltd.