Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- header('Content-Type: application/vnd.ms-excel;');
- header('Content-Disposition: attachment; filename: "file.xls"');
- header('Content-Length: '.strlen($file));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement