IE6 PngFix in Javascript

As a web developer you will know just how much we all love hate Internet Explorer 6 – one of the most dreaded browsers and browser versions that still exists in the deep dark corners of the interwebs – and you will probably have figured out that it doesn’t play Read more…

By Andrew Odendaal, ago

Force Download in PHP

This script works in all browsers, including Internet Explorer! 🙂 [code lang=”php”] if (strstr($_SERVER[‘HTTP_USER_AGENT’],”MSIE”)) { header(“Pragma: public”); header(“Expires: 0”); header(“Cache-Control: must-revalidate, post-check=0, pre-check=0”); header(“Cache-Control: private”,false); header(“Content-Type: application-download”); header(“Content-Disposition: attachment; filename=\””.basename($filename).”\”;”); header(“Content-Transfer-Encoding: binary”); header(“Content-Length: “[email protected]($ab_file)); set_time_limit(0); } else { header(“Content-type: application-download”); header(“Content-Length: “.filesize($ab_file)); header(“Content-Disposition attachment; filename=”.$filename); } readfile($ab_file); [/code]

By Andrew Odendaal, ago

IE6 on Vista?

I find myself constantly fighting the microsoft battle of making things work in their browsers (thanks guys). On one of my machines I have Vista installed and needed to test a newly created site that apparently had some issues under Internet Explorer 6. HOWEVER, to my horror IE6 was unable Read more…

By Andrew Odendaal, ago