Page 1 of 1
Force user to download one file?
Posted: Thu Sep 04, 2008 3:54 pm
by beso4ever
hi all
i need help please
first: i need to force my users to download only one file "
no more files on same time"
second: i need to protect the url of file like
http://www.example/ex.zip
Thanks for all
Re: Force user to download one file?
Posted: Thu Sep 04, 2008 8:03 pm
by paperplate
If I understand correctly, you want to give users the ability to download some files, but they can only download one at a time / per session?
Well you could put the files in some location hidden from the user, then use a php script to manage "serving" a file. This way you can set stuff in $_SESSION or probably better to use cookies and probably more better to store records in a DB based on some unique ID for the user which keeps track of the download restriction.
Re: Force user to download one file?
Posted: Fri Sep 05, 2008 1:38 pm
by beso4ever
thanks for your replay

i mean like rapidshare it prevent user to download next file until the current file finish download
Could you help me
Thanks