I have a PHP script that extracts a bunch of data and formats it. Now I want to download it to the client rather then just display it as garbage in the browser. How do I accomplish that? Is this one of those occasions where I need to use the PHP header function? I can't seem to come up with the right key words as my searches don't produce anything useful. TIA.