Hi, I'm fetching some forms with curl, in order to fill in. The form uses POST and is displayed in the browser. That's where I try to fill it.
1. one question is, how do I read the form's fields (need some hidden values to pass back)? can I use $_POST (this didn't seem to work much, so I used domdocument to get to the fields' values. This works fine on my computer, but my webhost doesn't have php 5 yet, so domdocument doesn't work)? what other way there is?
2. another related question is, how do I detect the submit button is clicked and then submit the form?