cURL tutorials...
if you haven't already, look in the timed challenges forums, I think there's a few examples of how to submit data.
I would recommend running curl with php from the commandline, rather then running it from within a hosted site. Also, make sure to send your cookies in the initial connection, otherwise hbh won't recognize you as a user. The only hard part really is grabbing and submitting the data, parsing and fiddling with it to get the answer is easy.
If you need any more help, feel free to pm me, I can help you with some code.
also, this has been my bible for the first two that I've done: http://www.php.net/manual/en/function.curl-setopt.php
See here for more examples: http://curl.haxx.se/libcurl/php/examples They are very useful, if you're going through timed challenges.