Yeah I actually forgot that you had to stream files through PHP for it to work, silly me! You're probably right too.
The way I'd handle it is the way you had it before, with links to a PHP script that counts and redirects: download.php?id=file.mp3 Of course I'm assuming if you changed it is because it caused problems/you didn't like it?
In any case, I don't know. I don't really know of any other way than streaming the file (with a buffer of course~!) or redirecting :(
Nice, although a right-click on the link adds a download.
As a suggestion, maybe you could write a custom script, use mod-rewrite to hook any files to it, and count downloads through there instead? This will have the advantage of not having any weird scripts visible to the public, and will count the link rights (instead of relying on user click input).
Hello!
Yeah I actually forgot that you had to stream files through PHP for it to work, silly me! You're probably right too.
The way I'd handle it is the way you had it before, with links to a PHP script that counts and redirects: download.php?id=file.mp3
Of course I'm assuming if you changed it is because it caused problems/you didn't like it?
In any case, I don't know. I don't really know of any other way than streaming the file (with a buffer of course~!) or redirecting :(
Good luck!
These look perfect for a small game I'm making, really liking those colors!
Nice, although a right-click on the link adds a download.
As a suggestion, maybe you could write a custom script, use mod-rewrite to hook any files to it, and count downloads through there instead? This will have the advantage of not having any weird scripts visible to the public, and will count the link rights (instead of relying on user click input).
In any case, nice work on this site! :)
Pages