Posting Data to a CGI Script

ok, i had a closer look at the page that the cgi produces.

the script is looking for a variable “action”. when you call it from flash without setting it, the cgi sees that the variable is null, and gives you the login prompt instead of processing the info.

you’ll have to set the “action” variable to “login”.

you can set that anywhere, but perhaps easiest on the submit button:

  
on (release) {
   action="login";
   getURL("http://www.jaycook.net/cgi/members/login.cgi", "_blank", "POST");
}

cheers.