# Flash authorization form problem

**URL:** <https://forum.kirupa.com/t/flash-authorization-form-problem/121544>\
**Category:** Uncategorized\
**Created:** [September 3, 2004, 7:06pm UTC](https://forum.kirupa.com/t/flash-authorization-form-problem/121544 "2004-09-03T19:06:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Floppy](https://avatars.discourse-cdn.com/v4/letter/f/a587f6/32.png) [@Floppy](https://forum.kirupa.com/u/Floppy)\
**Post date:** [September 3, 2004, 7:06pm UTC](https://forum.kirupa.com/t/flash-authorization-form-problem/121544/1 "2004-09-03T19:06:20Z")

</div>

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](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](http://www).\*\*\*\*\*\*/cgi-bin/cc\_id.pl”;  
temp=window.document.formid.cc\_id.value;  
if(temp.length!=10){  
window.document.formid.action =“[http://www](http://www).\*\*\*\*\*\*\*cgi-bin/ath\_query.pl”;  
window.document.formid.account\_number.value=temp;  
}  
window.document.formid.name.value=button\_descr;  
document.formid.submit();

}
