I am writing my first PERL to read data from a form.
<form name="user" method="post" action="cgi-bin/feedback.cgi">
Your name: <input type="text" name="uid">
<input type="submit" value="submit">
</form>
And I tried this to get the data from "uid" using these scripts:
#!/usr/bin/perl
print "content-type: text/html \n\n";
$u -> param('uid');
print "hello";
print $u;
Please help!
I have no idea why it printed nothing!
<form name="user" method="post" action="cgi-bin/feedback.cgi">
Your name: <input type="text" name="uid">
<input type="submit" value="submit">
</form>
And I tried this to get the data from "uid" using these scripts:
#!/usr/bin/perl
print "content-type: text/html \n\n";
$u -> param('uid');
print "hello";
print $u;
Please help!
I have no idea why it printed nothing!