2008/8/15 Jay Blanchard <jblanchard@xxxxxxxxxx>:> [snip]> Hello. I'm pretty noob in PHP and would like to know how can I submit> some HTML form got via file_get_contents(URL). For example:>> <form name="someform" method="post">> <input type="submit">> </form>>> so how can I submit 'someform' form.>> Thanks in advance for any suggestions.> [/snip]>> Click 'Submit'>>>> Your form tag needs an action statement>> <form name="someform" action="some.php" method="POST">>> All of the form's variables will be available in the $_POST array> I think he's asking how to make a POST request viafile_get_contents(URL), as opposed to a GET request. -- Dotan Cohen http://what-is-what.comhttp://gibberish.co.ilא-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת; A: Because it messes up the order in which people normally read text.Q: Why is top-posting such a bad thing?