Varuna1, I think my screen-scraping PHP class (class_http.php) may help you. Check it out at:
http://www.troywolf.com/articles/php/class_http/
At first glance, you may think "screen-scraping" is not what you need, but if you look closely at my class, you'll see it supports POSTING form variables to the remote page. With my PHP class, you can post your form variables to your old page and get back the result--ALL SERVER-SIDE in your PHP. You can then decide what you want to send back to your user's browser.
By the way, Microsoft's XMLHTTP COM object is something you'd use in ASP/VBScript--not PHP. I suppose you could use a client-side XMLHTTP Javascript call to create a solution. ("AJAX" uses client-side XMLHTTP.)