Social Icons Widget for b2evolution

Adds a widget with links to RSS feeds and most popular social media such as Facebook, Google+, Instagram, LinkedIn, Pinterest, Twitter, YouTube. Default icon sets used by the widget by http://www.pinkmoustache.net.

Symfony: stream download

To download file the Symfony way, add a download action and not to display layout unless there are errors. In /path/to/your/app/modules/your_module/actions/actions.class.php:

PHP: Stream Download

A general php code to download any type of file: content-type defines the type of file being sent. application/octet-stream is used for any kind of files. content-length indicates the size …