This has been covered several times recently - check the archives. zend.com has a great article detailing how to accomplish this.
olinux --- Adam Voigt <[EMAIL PROTECTED]> wrote: > Make the download link a PHP page: > > download.php?fileid+AD0-199 > > Then check to make sure there session is valid, and > what not > and then use the header function to make the browser > know it's supposed > to give a save dialog box. I don't specifically know > the code, but I > know this will work. > > On Thu, 2002-12-12 at 10:56, Jan Grafstr+APY-m > wrote: > > Hi, > I have some zipfiles in a directory and wonder > how to protect the > files? > > I send the customer to a downloadpage with links > after succsessfull > login. > > What is best to do? chmod the files when I > upload them and change > chmod if I > have a verifief user? > Any suggestions? > > -- > Regards > Jan Grafstrom > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: > http://www.php.net/unsub.php > > > > -- > Adam Voigt (adam+AEA-cryptocomm.com) > The Cryptocomm Group > My GPG Key: > http://64.238.252.49:8080/adam+AF8-at+AF8-cryptocomm.asc > > ATTACHMENT part 2 application/pgp-signature name=signature.asc __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php