[KLUG Members] Dynamic HTML/HTTP question

Bruce Smith members@kalamazoolinux.org
05 Dec 2002 08:17:05 -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.

A lot of times you can hack the POST into a GET request, specifying all
the parameters on the URL line.  Might be worth a try.

--------------------------------------------
Bruce Smith                bruce@armintl.com
System Administrator / Network Administrator
Armstrong International, Inc.
Three Rivers, Michigan  49093  USA
http://www.armstrong-intl.com/
--------------------------------------------