I recently ran into a problem that took me a few days to find a work around for. Running a basic AJAX POST, IE6 would hang up on readyState 3 for 200 seconds, throw an “Unspecified Error“, and then finally perform the action. Having a user wait 200 seconds for the IE6 timeout to come… Continue reading IE6 AJAX hang on readyState 3
Category: Programming
Code examples and answers to some real-life problems I’ve run into while coding.
Freelance Programming Feedback
This post contains comments from people whom I’ve done custom work for in the WordPress, vBulletin, and vBSEO worlds. I’ve asked those that I’ve worked with before to leave a few words here about my quality of work. If I’ve done work for you, please leave a few words so others who are considering working… Continue reading Freelance Programming Feedback
WordPress Permalinks on IIS with ISAPI_Rewrite
I’ve run WordPress here on my CentOS box for nearly 4 years and am quite familiar with the software. Recently, I had a client on a Windows system request a blog be added to their web store. Their webstore is written in ASP and runs on windows. They wanted to stay on the same domain… Continue reading WordPress Permalinks on IIS with ISAPI_Rewrite
Rand() isn’t Random
If you use Microsoft SQL 2000, you’ve probably at one point had to pull random results. The built in rand() function simply doesn’t work. It gives you a random value the first time, and every time after it is the same it seems. I found a new way to do this today after 20 pages… Continue reading Rand() isn’t Random
Intro to CURL with PHP
CURL is a command-line style function to send data via a URL. WikiPedia has a more detailed article on what it is and does. Preface – your php installation on your server must be CURL-enabled. You can download the CURL package for free. This article assumes your server is ready to go. While CURL is… Continue reading Intro to CURL with PHP
Yahoo Releases YSlow
YSlow is an add-on for the popular FireBug add-on for the popular browser, FireFox. Confused? 😀 It has neat tools to help you to improve your site’s load times, and rates you accordingly. I scored an F on my blog. haha Check it out: YSlow
Getting a Global Array to work in a Function
I recently spent a lot of time debugging this code i was working on for what I thought would be a simple onchange event. The Issue: I have sizes and colors, but not all sizes are available in all colors, so onchange of the color select box, i need to load the correct size options… Continue reading Getting a Global Array to work in a Function
Scripting Around Poor Table Design
We’ve all seen it. Some 3rd party database you’ve inherited from someone else was simply never designed with scalability and portability in mind. There’s no hope to change it, as it will break the original design and thus the original application that it is supporting.
Quick SQL Date Functions and Queries
It’s easy to grab the date from a field in a database so long as you saved a timestamp field along with your data row. However, there are often times in developing stored procedures and advanced queries where one needs to look up events in the future, or past based on some other reference point… Continue reading Quick SQL Date Functions and Queries
RFC-32 Date Formatting with Classic ASP
Tonight I was working on an RSS package for a client of mine. Having dealt with RSS feeds in the past, I figured it wouldn’t be a big deal. However, my experience with them has always been on the ‘receiving’ end of it, imploding out the ‘s and making sense of the xml. For the… Continue reading RFC-32 Date Formatting with Classic ASP