allasso Posted November 28, 2008 Share Posted November 28, 2008 Hello, I have also tried to get the browser to display a save dialog using (again, first thing on the page): <?php header('Content-type: text/html'); header('Content-Disposition: attachment; filename="file.html"'); readfile('file.html'); ?> I get no errors, it just doesn't work. any ideas? Thanks, Allasso Link to comment https://forums.phpfreaks.com/topic/134677-solved-no-browser-save-dialog-when-using-content-disposition-header/ Share on other sites More sharing options...
allasso Posted November 30, 2008 Author Share Posted November 30, 2008 seems to be working now, thanks. Allasso Link to comment https://forums.phpfreaks.com/topic/134677-solved-no-browser-save-dialog-when-using-content-disposition-header/#findComment-702593 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.