I'm using this code to force a MS word doc to download rather than open in the browser

$file = fopen("$fileName","r");
header("Content-type: application/msword");
header("Content-Disposition: attachment; filename=$fileName");
header("Content-Description: PHP3 Generated Data");
header("Pragma: no-cache");
header("Expires: 0");

After the task is complete I can't get the cursor back to an arrow - it stays as an hourglass.

I believe I should use the style cursor tag but where should I place the tag?

TIA, Tony