Jamesking56 Posted November 10, 2009 Share Posted November 10, 2009 How do I force it so that when a PHP page is viewed it pops up with a download box for a .HTML file download? (instead of displaying the HTML file) Link to comment Share on other sites More sharing options...
justsomeguy Posted November 10, 2009 Share Posted November 10, 2009 You can send a generic content type header to force a download. Most people probably use a content type of "application/octet-stream" for that. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.