473,772 Members | 2,412 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2879
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.c om...
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
1550
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 disadvantages. thanks in advance archu
26
3226
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" are passed onto this page from a previous page and I haven't been able to figure out how to show the passed values in the list boxes when the page loads. All variables passed perfectly before I added the dependent list code below. Currently, when...
14
1681
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
9619
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10261
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9911
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8934
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6713
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.