Re: [PHP3] Sending POST variables
| From: | Matt McClanahan | Date: | Sun, 21 May 2000 20:56:21 +0000 |
| Subject: | Re: [PHP3] Sending POST variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-258@lists.php.net to get a copy of this message | ||
On Sun, 21 May 2000, spider wrote:
> How does one send values to a server by the POST method from
> a PHP-script? I want to send queries to search engines and recieve
> the output file from the search engine; the problem is that some
> search engines' pages have forms using the POST method and their
> scripts only take POST-variables. I know that GET variables are sent
> simply by putting a '?' after the URL and separating the variables by
> an '&'.
The most common method is to use an html form.
<form method="post" action="search-engine-script">
Matt