Hi, My script file "php.doc" is using the following HTTP headers to force the output to be downloaded as a Word file to the user's browser:
header("Content-type: application/msword; name=$file");
header("Content-Disposition: attachment; filename=\"$file\"");
To start the download, the user clicks the following link:
<a href="docs.php? file=meeting.doc">meeting.doc</a>
Everything works fine EXCEPT when I do a right click in Netscape 4.5 and select "Save Link As". The "Save As" dialog appears correctly but with the "docs.php" as default file name. Obviously I want it to be "meeting.doc". Does anyone know what to do???