Hi all, for once I have a problem.
I am coding a script to allow users to download files without actually seeing the file itself on the server.
On IE the file is named .zip
On FireBird the file is named .zip.php
anyone seen that already?
here is the code :
header("Content-Disposition:attachment; filename=".$row['file']);
header("Cache-control: private");
header("Content-type: application/zip");
header("Content-Length: ".filesize($row['path'].$row['file']));
readfile( $row['path'].$row['file'] );