> How can I force the download of .pdf, .doc and image files? I have some > links to downloadable docs in my website, but when we click the links, IE > opens the file directly in the window. I wish when the user click a download > start, even if it is a .jpg, .gif, .pdf or .doc file. > > There is a way to make that in PHP? > > I have the idea do ZIP the files automaticly when my PHP script upload it to > the server, but canīt figure out how to make that. > > Thanks, > Rics >
Very common problem... very easy solution. http://www.google.com/search?hl=en&lr=&ie=UTF-8&q=php+header+force+download Jim Grill -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php