i have this very simple download page to get an xml file. the script works ok in firefox/IE. but chrome renames the extension of the file to ".download". and this happens only to .xml, when you use another extension like .txt it does it without problems.
html vücut şudur:
<body>
<a href="down.php">descarga</a>
</body>
ve php şudur:
header('Content-type: "text/xml"; charset="utf8"');
header('Content-disposition: attachment; filename="example.xml"');
echo "that's it";
onun çok garip. Bunun için herhangi bir çözüm?