downloads

27th March 2015
The correct way to handle file downloads in PHP

The correct way to handle file downloads in PHP

I’ve seen many download scripts written in PHP, from simple one-liners to dedicated classes. At least half of them share common issues; in many cases programmers simply copy the code from something that works, without even attempting to understand what it really does... read the rest »