Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Supporting Technologies > Server-Side Scripting

Reply
 
Thread Tools Rate Thread Display Modes
Old 01-07-2001, 06:55 AM   #1
poindexter
Registered User
 
Join Date: Jan 2001
Posts: 7
Angry

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:
http://www.nerdfactory.com/acadsa/
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
poindexter is offline   Reply With Quote
Old 01-08-2001, 12:32 AM   #2
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Default

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:
http://www.flashkit.com/movies/Inter...55/index.shtml
http://www.flashkit.com/movies/Inter...02/index.shtml
And more: http://www.flashkit.com/cgi-bin/movi...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:
http://www.flashkit.com/movies/Inter...89/index.shtml
http://www.flashkit.com/movies/Inter...55/index.shtml

Cheers

Jesse
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder
Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Old 01-08-2001, 08:05 AM   #3
poindexter
Registered User
 
Join Date: Jan 2001
Posts: 7
Default

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!

This is the way I have it set up. After the user hits the SUBMIT button the movie plays past a keyframe that loads a Javascript popup and then hits a keyframe with this action in it:
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
http://www.nerdfactory.com/acadsa/

Any help would be appreciated!
poindexter is offline   Reply With Quote
Old 01-09-2001, 12:36 AM   #4
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Default

Well your script is working fine. (Nice site by the way). I get
"Below is what you submitted to stev...
Name: Jesse
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.

Cheers

Jesse
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder
Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Old 01-09-2001, 12:44 AM   #5
poindexter
Registered User
 
Join Date: Jan 2001
Posts: 7
Default

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.
poindexter is offline   Reply With Quote
Old 01-09-2001, 01:30 AM   #6
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Default

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.

Cheers

Jesse
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder
Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Old 01-09-2001, 01:58 AM   #7
poindexter
Registered User
 
Join Date: Jan 2001
Posts: 7
Default

"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.

poindexter is offline   Reply With Quote
Old 01-09-2001, 08:47 AM   #8
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Default

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...

Good luck

Cheers

Jesse
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder
Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Line breaks missing in email form Leao ActionScript 2.0 0 10-10-2006 02:11 AM
email form doesn't send info shelleyv ActionScript 2.0 1 03-28-2006 09:08 PM
Email Form Problems kirkwood79 Other Flash General Questions 3 03-27-2006 05:18 AM
PHP - mailing list (form) won't send to email. free mojo Server-Side Scripting 4 05-28-2004 04:43 AM
email form, submiting variables in levels or target ? Developer Other Flash General Questions 1 03-16-2002 09:21 PM


All times are GMT. The time now is 03:15 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.