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