Web Hosting Talk







View Full Version : Communicating with CGI Scripts


BenPhillips
11-10-2001, 04:22 PM
Is there some way you know of -- whether it be through CGI scripting, application programming, FTP, etc. -- to setup a program to interact with a CGI form? Specifically, I would like to automatically run a form repeatedly with different sets of data each time and save the results to a file. Any help you can provide would be great. Thanks.

Ben Phillips

zkn
11-13-2001, 11:23 AM
yes, it's enough easy :)
If I understand you right...
You can use CGI-script (e.g. written in PHP).You should call that form:
http://host/formresult.html?field1=data1&field2=data2...
where field1,field2 - form fields
and data1,data2 - data that you want to submit to the form.
And you can read output from that cgi-form.
So just look at php function fopen...