Could anyone tell me how to pass clickbank and paypal sales data such as the "receipt" to my thank you page.

If I send the customers straight to the thank you page than there is not a problem, because the data is passed to my
thank-you page which is a cgi-script. However I want to send them to a one-time-offer first before I send them to the
thank-you page.

I tried a "meta refresh" redirect which sends the customers on after about 25 seconds, but if fails to pass on the data.

I have a php OTO script which I could use if I have a way of passing the string via a link at the bottom.

Any help will be appreciated.