I was creating a page with two forms on it. I ran into an issue where I would fill out one form, and it would fail validation. Then, I tried to do the other form with passing fields, and it would keep invalidating the previous form on the same page. (more…)
All entries of my technical and business blog.
My Meetmeme card
I received a set of cards from meetmeme.com. In addition to my cards, they also provide the following URL: http://mtme.me/c89ab (more…)
Excel won't handle UTF-8 in CSV? Force a different encoding in PHP
When generating a CSV file with PHP in the UTF-8 encoding, Microsoft Excel freaks out. It just doesn’t show the proper encoding. Thank you Microsoft! However, I did find a way to handle this encoding and make it compatible for Windows/Microsoft Excel. (more…)
Fix: FirePHP not showing output in console in Firebug
When using FirePHP, I ran into this issue where I could not see the output of the debug information. All the documents I found kept suggesting that I had not enabled the Console tab for this particular site. (more…)
Guitar Chord fingering with PHP
After cleaning up some old files in my archive, I found this snippet of code I made a while ago. (more…)
Conditional Comments - fix blocking
Ok - so I can’t take any credit for this - but check out this blog post: http://www.phpied.com/conditional-comments-block-downloads/ (more…)
Object Cache Class in PHP
While I’m infinitely happy that all uses of a class in PHP now are references, that’s just not good enough. Sometimes I want to use my newly created object in many different methods. I have two options. First, I could create it as a Singleton, and always call the instance getter. Or, I could use an object cache. (more…)
It's not shameful to cut your losses
One thing I’ve learned about the entrepreneurial spirit is that it leads to failure. With figures as high as 90% of businesses fail, this is something you have to get used to. Even leaders like Robert Kiyosaki mention that knowledge is what makes money - and that knowledge is gained by failure. You’ve heard the sayings before, learn from your failures… (more…)
3D walkthrough in Basic
Just had a blast from the past… found this a while ago. This was a program I wrote way back in the days of Basic. It was a basic 3D walk through. ' Added speed routines and antiflicker and take away waits. ' 3rd generation program ' ' 'Here's my take on the doom.bas program that was posted here a while ago. 'It's much clearer and more organized and a bit faster as well, I... (more…)
IEStandards.xml requests
The other day, I saw some 404 errors for the file IEStandards.xml in my error logs. After a little research, I found some links here and here that lead me to believe that I had done something wrong. Let me explain… (more…)