Please see my comment to the question.
Populating of such form is wrong approach. You don't want to populate anything, and if this is PHP used on the server side of your own Web site, you cannot do it, because you also don't "host" a Web browser which does this population. Isn't it logical?
The solution is: you have to realize that what you really want is not population of any UI. What you really want is to get the same effect as the Web browser user who populates and then submit a form, or send any other HTTP request.
If you realize that, you can easily (well, relatively easily) solve this problem. You just need to send appropriate HTTP request(s) using the PHP class
HttpRequest
:
http://php.net/manual/en/class.httprequest.php[
^].
You might have some problems figuring out what exactly to send and what to expect in HTTP response. I can give you one "secret weapon". This could be any Web browser tool used to "spy" on HTTP request/response while experimenting with the site in question using some browser manually. This way, you can fetch all the detail and later mimic them in your HTTP request and the code handling your HTTP response. Such tool can be called "HttpFox" (Mozilla), "HTML Spy", and the like.
—SA