I have a program I wrote in C that performs a search.
When I have a page with the following form on it, it works.
<FORM Action="http://www.testserver.com/getSearchItems.cgi" Method=POST>
Keyword Search: <Input Type = "text" Name="KEYWORD">
<INPUT Type="submit" Name="submit" Value="Query">...