real_illusions Posted January 20, 2006 Share Posted January 20, 2006 hi there.how can you track how many times a file has been downloaded?i have looked around, and most scripts appear to use a mysql database.i have no idea how to create a database from scratch, so is there another easier way?a server side script would be useful i think, rather than browser side like javascript. and my pages use the php include command so i'm guessing its going to have to be php.one way i did think was to, when you press on the link, it goes to another page which has a redirect to the file. and the redirect page also has a script built in that reads a txt file on the server and adds 1 to the number on there.is there any problems with that or any easier way with less chances of problems and errors? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now