[KLUG Members] Dynamic HTML/HTTP question

Robert G. Brown members@kalamazoolinux.org
Thu, 05 Dec 2002 08:04:40 -0500


>> <form action="index.asp" method="post" name="dateSearch" 
>>  onsubmit="return validateForm(this)">
>> <input type="text" name="startDate" size="15">
>> <input type="text" name="endDate" size="15">
>> <input type="image" src="/images/button-images/search_button.gif"
>>  width="50" height="10" border="0">
>> </form>
>
>> What I want to do is submit my query under program control, and 
>> without manual intervention. Put another way, I would like to know 
>> how to get the server to react AS IF someone had answered the requests 
>> for data by filling in something, and thus send along the response 
>> that would result from the processing of the query that is submitted.
>Web crawling.
Well, it's a little more specific than web crawlig, actually. It's a
real HTTP client-server app, only no browser is in use. Doing it with
"GET" is quiute straightforward, actually.

You probably should use Perl, and ask Jamie. ;-)
Well, by posting here, I have, implicitly.

>What you want to do is connect to the server, just as if you were
>GET'ting any page, only you are going to connect with a POST command and
>a bunch of 'uploads.' Standard HTTP. Copy the page to your local web
>server and experiment. Heck, it might not be a pain even using socket(1)
>and bash(1), maybe even chat(8).
Ah, a Microsoft answer, it's true enought, but it's not enough so to be really
USEFUL! :)

I was looking for specific tools, libraries, packaged solutions, class 
libraries, etc... been around the net, havent found any. If I hafta
expand what you wrote above (and what I already understand), then I'll
end up writing it myself, which is what I'm attempting to avoid by posting
this.
							Regards,
							---> RGB <---