RE: [PHP] How to submit form via PHP

From: Date: Fri, 15 Aug 2008 18:30:35 +0000
Subject: RE: [PHP] How to submit form via PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-278177@lists.php.net to get a copy of this message
[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

« previous php.general (#278177) next »