/ Published in: PHP
                    
                                        
Forces a user to download a file, for e.g you have an image but you want the user to download it instead of displaying it in his browser.
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
// displays progress bar when downloading (credits to Felix ;-))
// file name of download file
// reads the file on the server
URL: http://htmlblog.net/10-code-snippets-for-php-developers/
Comments
 Subscribe to comments
                    Subscribe to comments
                
                