PHP Download links


I’m currently setting up my site and i would like the download links to be handled by PHP like:

I was wondering how i can make downloads into this kind of link form as some of the videos decide to stream for some users. It also makes them look tidier i think (i hate the 20%'s)