# Submitting variables using form

**URL:** <https://forum.kirupa.com/t/submitting-variables-using-form/15722>\
**Category:** flash\
**Created:** [March 17, 2003, 4:17pm UTC](https://forum.kirupa.com/t/submitting-variables-using-form/15722 "2003-03-17T16:17:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![z2005008](https://avatars.discourse-cdn.com/v4/letter/z/54ee81/32.png) [@z2005008](https://forum.kirupa.com/u/z2005008)\
**Post date:** [March 17, 2003, 4:17pm UTC](https://forum.kirupa.com/t/submitting-variables-using-form/15722/1 "2003-03-17T16:17:47Z")

</div>

hi,  
i m using this code to send login and password  
information from a flash 4 flash.

the two text fields defined  
login  
password

a button submit  
whose action is defined as

On(Release)  
Get URL("/cgi-bin/authenticate",vars=POST)  
End On

and the cgi -script is  
#!/usr/bin/perl -wT  
print "Content-Type:text/html

";  
print “\<html\>”  
print $ENV{QUERY\_STRING};  
print “\</html\>”;

Button is working fine  
but it displays nothing on the page  
.

plz help as i m stuck on this small problem.

cheers  
harsh

---

<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:** [March 17, 2003, 6:15pm UTC](https://forum.kirupa.com/t/submitting-variables-using-form/15722/2 "2003-03-17T18:15:53Z")

</div>

I don’t use CGI, I could tell you how to do it with PHP…

Check out this tutorial I wrote up, it might help:

[http://www.kirupaforum.com/forums/showthread.php?s=&threadid=17604](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=17604)
