Page 1 of 1

ip based download solution

Posted: Sun Sep 27, 2009 8:31 am
by sweb
hail i want to know how can i process download for each IP that one IP just can donwload 1 file on one time and when user download the file can download another file that just process with PHP. such as a rapidshare in for free users.
thank.

Re: ip based download solution

Posted: Tue Sep 29, 2009 7:00 am
by uyewq
Hi,
not sure but i think session starting and usage of session variables is must here
i will watch your post also, let me learn too..
Bye

Re: ip based download solution

Posted: Tue Sep 29, 2009 7:35 am
by jackpf
Just record the user's IP address in a database, along with the filename or file id or whatever.

Then when they go to download, check the IP address along with the filename/id doesn't already exist.

Re: ip based download solution

Posted: Wed Sep 30, 2009 5:10 pm
by sweb
jackpf wrote:Just record the user's IP address in a database, along with the filename or file id or whatever.

Then when they go to download, check the IP address along with the filename/id doesn't already exist.
i can't found out your mean. explain your mean.

how can i know the user dowload hase been complete or how can i know the download in progress. give me the solution with description. :banghead:

thank.