/ Published in: PHP
                    
                                        Provide files to the user by forcing them to download.
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
 /******************** *@file - path to file */ function force_download($file) { } else { echo "No file selected"; } }
Comments
                    Subscribe to comments
                
                