Here is the original HTML form that you would see if you were navigating to the page to fill out the form: <form name="input" action"form_rec.php" method="post"> Ye giveth:<input type="text" name="in"> <input type="submit" value="Go"> </form> Notice that we’re posting to the file form_rec.php, not the file that actually contains this form code. If you try posting [...]
Using Perl and LWP::UserAgent to POST to a HTML/PHP form.