Flash authorization form problem

Here is my problem, I am trying to submit to perl script an authorization code from flash (input box named accound_name). I used this posting method: getURL(“http://www.******/cgi-bin/ath_query.pl” , “_self”, “POST”);. I don’t understand what is wrong with it. The old authentication part was in html and something like this: function submitTo(button_descr) {//JD 7/14

window.document.formid.action =“http://www.******/cgi-bin/cc_id.pl”;
temp=window.document.formid.cc_id.value;
if(temp.length!=10){
window.document.formid.action =“http://www.*******cgi-bin/ath_query.pl”;
window.document.formid.account_number.value=temp;
}
window.document.formid.name.value=button_descr;
document.formid.submit();

}

are the values not being passed at all?do you have some kinda response to trace back communication to the script.

well i get this error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

A 500 error usually means there is something wrong with your PERL script, or the server configuration for interpreting the script. Can you post the PERL script? Also, can you check your server error log, there should be details about what caused the error.