473,327 Members | 1,936 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Server-side "submit form" simulator

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
5 2852
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
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
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
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

"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: archu007 | last post by:
hi ,frds i'm new to mobile applcations in asp.net .. can any one tell the stps to be followed to use mobile applicaiton in asp.net2.0 how to use and where to use and its advantages and...
26
by: jmartmem | last post by:
Greetings, I have an ASP page with two dynamic dependent list boxes written in JavaScript. My dependent lists work great, but my problem is that the values for "Program_Name" and "Project_Name"...
14
by: MartinRinehart | last post by:
I can load a dialog by loading an HTML page or by constructing the dialog with JavaScript. What should I be thinking about when I look at this choice?
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.