Buddyholly83
IS-IT--Management
I am playing about with forms and trying to receive some form data from a form post. Im getting no errors but im getting nothin output. Here is the HTML:
Here is the perl script it posts to:
Think i am not reading in the form vaules correctly, but i was told STDIN would do it?!
Thanks in advance
Code:
<form method="post" action="EsendexAccountEventHandler.pl">
<input type="hidden" name="value1" value="test1">
<input type="hidden" name="value2" value="test2">
<input type="hidden" name="value3" value="test3">
<input type="submit">
</form>
Code:
$length = $ENV{'CONTENT_LENGTH'};
read(STDIN,$data,$length);
print $data;
Thanks in advance