You might try reading up on CGI. I believe for one method (POST or GET), the parameters are passed to the program via standard input (ie, they're piped), and for the other, they are passed through the environment. It's been quite a while since I've played with CGI, though, so I'm afraid I don't remember which is which. Once you determine how the server is passing data to your script, you should be able to fake it, and pass the correct data.
You might find this link and this link helpful.
__________________
A man's knowledge is like an expanding sphere, the surface corresponding to the boundary between the known and the unknown. As the sphere grows, so does its surface; the more a man learns, the more he realizes how much he does not know. Hence, the most ignorant man thinks he knows it all. - L. Sprague de Camp
|