Hi guys...
I am looking for a mature PHP script that can be used to simulate an HTTP form.
In other words, I want to achieve the same results )transfer of information to the target of the form described by the ACTION field) with a user seeing a form, filling in the various fields, and then hitting the "submit" button.
I guess the way to do it with PHP is create the HTTP request which includes the form fields, open a socket to www.formserver.com:80 (or whatever other port), write the request, and then close the socket.
This is trivial in principle, but ideally I 'd like to avoid going through the HTTP spec and coding everything myself. So, if anyone has been in the trouble before, and would like posting the code, I 'd be most grateful! :-)
Cheers,
Dimitris