Sandesh, you need to use cURL (http://uk3.php.net/manual/en/ref.curl.php) to request the remote page using PHP. You can then parse the response from the remote site, and pass back any information you need to to the user. This means the user never leaves your page. This is similar to how web services work, except the information is passed between the 2 sites in a structured way, using XML. Rob. -----Original Message----- From: php-objects@xxxxxxxxxxxxxxx [mailto:php-objects@xxxxxxxxxxxxxxx] On Behalf Of sandesh.s_magdum Sent: 12 November 2007 09:44 To: php-objects@xxxxxxxxxxxxxxx Subject: Difficulty in header function. Hello friends! There is a situatuion like this for me: I am a PHP developer in a software company in India. I have used header function to call a third-party remote url passing it some query-string(e.g. http://xxx?abc=xyz&jkl=efg.)from a certain php page and the response is automatically coming back(i.e. it's a callback URL). Once I got response from the URL I need to generate auto-response for that.But the difficulty is that the page does not return back to original php page once redirected by header function. Can I call a remote URL with header function in a separate thread(process) without let to know the user of that page and giving him auto-response? Could someone guide me in this situatuion? Thank you! With regards Sandesh PHP Professionals looking for PHP jobs http://www.phpclasses.org/professionals/ Yahoo! Groups Links *********************************************************************************** Any opinions expressed in email are those of the individual and not necessarily those of the company. This email and any files transmitted with it are confidential and solely for the use of the intended recipient or entity to whom they are addressed. It may contain material protected by attorney-client privilege. If you are not the intended recipient, or a person responsible for delivering to the intended recipient, be advised that you have received this email in error and that any use is strictly prohibited. Random House Group + 44 (0) 20 7840 8400 http://www.randomhouse.co.uk http://www.booksattransworld.co.uk http://www.kidsatrandomhouse.co.uk Generic email address - enquiries@xxxxxxxxxxxxxxxxx Name & Registered Office: THE RANDOM HOUSE GROUP LIMITED 20 VAUXHALL BRIDGE ROAD LONDON SW1V 2SA Random House Group Ltd is registered in the United Kingdom with company No. 00954009, VAT number 102838980 ***********************************************************************************