Tag Archive | "PHP"

How to Create an IE8 Accelerator

Monday, November 2, 2009

Comments Off on How to Create an IE8 Accelerator

Accelerators in Internet Explorer 8 are a new feature that allows you to select text and perform actions on it (like look up a word, map an address, etc.). This tutorial creates an accelerator that lets you select a song title or artist and listen to the music.

Continue reading...

Setting MimeType in PHP

Monday, June 22, 2009

Comments Off on Setting MimeType in PHP

Setting the Mime Type allows you to tell the browser what type of response that it is going to receive. This is useful for returning non html results like file downloads, xml and JSON. //Setting a XML File Type in PHP $mtype = "text/xml"; header("Content-Type: " . $mtype); //Setting a File Download Type in PHP […]

Continue reading...

How to Install PHP CURL on IIS

Sunday, June 21, 2009


Are you getting this error: Fatal error: Call to undefined function curl_init() in C:\myfile.php on line 100 A quick overview on how to get the php_curl.dll working on IIS. This works with PHP 5.x on Windows. Most likely you did not install the CURL extension when you first installed PHP on your machine. Below is […]

Continue reading...

SQL Hacks: Sequentially Numbering Records

Monday, December 11, 2006


It is a simple concept, I want each record of a SQL result set to be numbered 1 through X. Well SQL wasn't really designed to do this so here come some the ugliest hacks you'll every see to "just get it done". Here is some more background. I got contracted to write some fixes […]

Continue reading...