>i am trying to carry out an http POST request in the middle of a php >script You can send http headers using the php 'header' function. Bear in mind that you cannot echo or print anything (or add any HTML) before the header command. Any output will force http headers. Check it out in the manual. http://www.php.net/download-docs.php if you don't have it. HTH Phil Parker