I’m developing something like games shop.
There is a dir contents a lot of exe games on the server.
F.e. url to game looks like http://site.com/games/gametitle.exe
I need to protect the url from multiply downloads.
I can include the md5 user’s ip into the url http://site.com/games/md5($ip)/gametitle.exe
but how to process it?
I’m developing something like games shop. There is a dir contents a lot of
Share
Take a look at using
readfileandheaderto pass the file contents out to the page, and use sessions to track how many times the user has accessed the link.