New web sites I’m working on.

by Scratty on April 29, 2010

http://www.ecardeal.com

http://www.dealer411.net

Great sites if your looking to buy a car.

{ 0 comments }

Here’s a great article on how to use the new SQL Server 2008 geography data type for proximity searches aka zip code radius search.   I’ve used many of diffent ways to run these searches, including the ones provided by the zip code data providers, but this solution has got to be the fastest I’ve run across.   If you use SQL Server 2008 and need a quick and simple proximity search based on zip code, then you have to read this article:  http://blogs.lessthandot.com/index.php/DataMgmt/DataDesign/sql-server-2008-proximity-search-with-th

If you have SQL 2005, then read this  article:  http://blogs.lessthandot.com/index.php/DataMgmt/DataDesign/sql-server-zipcode-latitude-longitude-pr

I love finding solutions that make life easier.  :-)

{ 0 comments }

Remove Thesis Attribution Link from Blog Footer

by Scratty on January 10, 2010

Good article on how to remove the “Get smart with the Thesis WordPress Theme from DIYthemes.” from your Thesis Theme install here. One small update to it though.

To clarify you need to: 

  1. Make sure that the /wp-content/themes/thesis/custom-sample directory is renamed to /wp-content/themes/thesis/custom
  2. edit the custom_functions.php in the the new directory.

That’s it.  Pretty simple.

{ 1 comment }

Running PHP on 64 Bit Windows 2003 using FastCGI

After doing some searching on google, it turns out that you can run PHP 32 bit on Windows 2003 R2 64 Bit using the FastCGI Extension for IIS 6.0. Also, using FastCGI is actually faster the the ISAPI dll. The steps for setting PHP up to use the FastCGI Extension are pretty straight forward.

Read the full article →

CF 8 Ajax with CFSELECT BIND

As mentioned in Ben Forta’s blog you can use the BIND attribute on a CFSELECT tag to populate the data from a CFC using AJAX. The problem I had was that even using Ben’s samples I could not get the data to populate. After alot of tinkering I finally got it to work by remove the onRequest() method from Application.cfc. Why this affects this functionality is a mystery to me. Really for the application I’m working on it’s not a big problem but on other projects it could be.

My second part of the problem is that I have a cfc directory that is OUTSIDE of the application’s root directory. For example:

Read the full article →

Windows Mobile Device Center and Windows Vista 64 Bit

When I would try and launch Windows Mobile Device Center 6.1 nothing would happen and this error message would show in the event logs: Failed to start the Windows Mobile-based device connectivity service due to EnableRAPIMgr(0×80070005) failure (see data for failure code). When searching the internet for a solution I found the following solution:

Read the full article →