Re: how to use media views to count downloads

2012-01-16 Thread ahmed fakher
thanks Muhaimen Ezabbad for reply ..but can you give me one example because i am newbie in cakephp -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related qu

Re: how to use media views to count downloads

2012-01-16 Thread Muhaimen Ezabbad
Fakher, the $filename, or the download id should be an argument to the download action, then from the download action you can use the Media view and store the download counter in the database or anywhere you want to track the downloads count. regards __ Muhaimen Ezabbad

how to use media views to count downloads

2012-01-16 Thread ahmed fakher
i see this doc page and i think it can help me to count downloads but i don't understand how to count with this media views http://book.cakephp.org/1.3/en/view/1094/Media-Views this code for extract files dir and title...the user download when clicked the file link..i need to count number of dow