How to force file downloading with htaccess July 1st, 2009
Nearly every browser will show image oder video files you want to provide for download in the browser itself instead of opening a download dialog.
Most of the websites suggest to use this code in your .htaccess:
<FilesMatch "\.(jpg|zip|avi)$" > ForceType application/octet-stream </FilesMatch>
But this is not enough! Even when the MIME-Type is set to “octet-stream”, some browsers will still open the files their selfs because they have detected the .jpg or .avi file extension.
The solution to this is to add the following header:
<FilesMatch "\.(jpg|zip|avi)$" > ForceType application/octet-stream Header add Content-Disposition "attachment" </FilesMatch>
With this header every browser i tested opened a download dialog, regardless of which file extension is present.
TimeWasters CS:S Configurator September 27th, 2008
TimeWaster’s CS:S Configurator is a online Counter Strike:Source config generator.
It’s main goal is not to provide you with buy scripts or stuff like this, it’s goal is to give you the ability to crunch your WHOLE CS:S config including the following settings:
- Nickname
- Mouse sensitivity
- Sound Volume
- Crosshair color and size
- Auto weapon switch
- Common bindings
- Your personal Counter Strike MENU
- And many more
in one ZIP file.
This means if you have a freshly installed CS:S and you want to apply your settings, you only have to unzip ONE FILE, set your screen resolution, and all your config work is done!!! no need to define a spraylogo, no need to add “-console” to your start options… all is done by unzipping that one file.
So don’t hesitate and create your config now!
Posted in Programming, Tools | No Comments »
