Re: post without <form>
| From: | Manuel Lemos | Date: | Thu, 08 Jul 2004 09:36:31 +0000 |
| Subject: | Re: post without <form> | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-189953@lists.php.net to get a copy of this message | ||
Hello,
On 07/07/2004 10:49 AM, Josh Close wrote:
How can I post data without having it submitted from within a form? With get I can just add it to the url. Is there a php function for this?If you mean emulating POST form submission to a site of a given URL, you may want to try this HTTP client class that makes it easy to do that and comes with an example: http://www.phpclasses.org/httpclient -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/ Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.html