Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 08-26-2005, 01:30 PM   #1
zamson
Registered User
 
Join Date: Aug 2005
Posts: 2
Default HTML form > Flash - Trouble

I'm trying submit a form with a cgi script that is named Soupermail but I cant get it to work from a .swf. Please help me out.

HTML CODE
Quote:
<form action="http://www.fake.com/cgi-bin/RedEx/RedEx.pl" method="get" name="kontaktaoss">


<input class="form" type="text" name="Company" size="25">
<input class="form" type="text" name="Name" size="25">
<input class="form" type="text" name="Email" size="25">
<input type="hidden" name="RedExConf" value="kontaktaoss.con">

<input type="image" name="submit" src="http://www.fake.com/nya_pics/formular/skicka.gif" alt="" height="11" width="57" border="0">
FLASH

1. I created a keyframe and added the code RedExConf = "kontaktaoss.con"; (the hidden field which contains the url to the con file)

2. Input text field with var set to Company (did all the fields)

3. A submit button with the following code assign to it:

Quote:
on (release, keyPress "<Enter>") {
getURL("http://www.fake.com/cgi-bin/RedEx/RedEx.pl", "_self", "POST");
fscommand("quit");
}
It retrieves the url but doesn't seem to send the info to the cgi script. What have I forgotten? Please any input is appreciated.

Thanks for having a look.

BTW: I'm using Flash MX 2004

/zamson

Last edited by zamson; 08-26-2005 at 01:48 PM.
zamson 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


All times are GMT. The time now is 03:20 AM.

///
Follow actionscriptorg on Twitter

 


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