I was trying to figure out how to call a script but redirect to the file
based on file name and directory. So dir and file could always be different.
What I what I want to do is be able to count mp4 file requests.
So if it is /adfjwk3/file.mp4
Then I would still redirect to the mp4 but also call count.php?id1=FileName&id2=Directory
Is this even possible? Or if someone has a better idea for counting direct downloads that would be great. And no I can use php to deliver the file because
it gets played in flash player or downloaded to mobile devices. I need to keep the direct download and be able to count it.