By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,154 Members | 1,050 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,154 IT Pros & Developers. It's quick & easy.

Server-side "submit form" simulator

P: n/a
Don
I have a need to simulate the submission of an html-like <form> on the server, and was wondering if
anyone knew of something out there that could do that.

Thanks for your help,
Don
Jul 17 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
I've been inactivly looking for the answer to this for a while, but as
far as I've gotten is hacked and nastly written javascript toys

Jul 17 '05 #2

P: n/a
Don wrote:
I have a need to simulate the submission of an html-like <form> on the server, and was wondering if
anyone knew of something out there that could do that.

Hi,

You can try Curl (http://curl.haxx.se/)

Or you can try a pear lib (php) :
http://www.php-editors.com/pear_manu...tp-client.html

regards,
Philippe
Jul 17 '05 #3

P: n/a
Hello,

on 01/02/2005 09:06 AM Don said the following:
I have a need to simulate the submission of an html-like <form> on the server, and was wondering if
anyone knew of something out there that could do that.


This HTTP client class does exactly what you need. It may also capture
and send back cookies, handle redirection and authentication.

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
Jul 17 '05 #4

P: n/a
Don
On Sun, 02 Jan 2005 04:06:40 -0700, Don <no@adr.com> wrote:
I have a need to simulate the submission of an html-like <form> on the server, and was wondering if
anyone knew of something out there that could do that.

Thanks for your help,
Don

Thanks everyone. Looks like there are several ways to do this. I appreciate the help.

Regards,
Don
Jul 17 '05 #5

P: n/a

"Don" <no@adr.com> wrote in message
news:7b********************************@4ax.com...
I have a need to simulate the submission of an html-like <form> on the server, and was wondering if anyone knew of something out there that could do that.

Thanks for your help,
Don


PHP 4.3.6+ knows how to do a HTTP post natively. See
http://www.php.net/stream_context_create/.
Jul 17 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.