# Flash authorization form problem

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

}

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 3, 2004, 7:14pm UTC](https://forum.kirupa.com/t/flash-authorization-form-problem/63194/2 "2004-09-03T19:14:16Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 3, 2004, 7:48pm UTC](https://forum.kirupa.com/t/flash-authorization-form-problem/63194/3 "2004-09-03T19:48:03Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 3, 2004, 7:56pm UTC](https://forum.kirupa.com/t/flash-authorization-form-problem/63194/4 "2004-09-03T19:56:10Z")

</div>

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.
