Geekinator.com

Entries for the ‘Websites’ Category

A field not saving in CakePHP? Try clearing the cache :)

I thought I’d pass a little tip along for those of you who use the CakePHP framework, and maybe don’t know all the ins and outs yet (I am definitely one of those people, but I’m getting there). Every once in a while, I’ll get stuck on something that just won’t save to the database, [...]

Validate Multiple Models at same time when using CakePHP Wizard component

I really like the CakePHP Wizard component, written by Jared Hoyt and can be found at http://bakery.cakephp.org/articles/jaredhoyt/2010/09/10/wizard-component-1-2-tutorial#page-2. It’s great for creating multi page web forms in CakePHP, but I did run across a little problem (I’m sure it’s not a glitch with the component, but just a problem I’m having with my situation). The problem [...]

Populate State List on Country Select in CakePHP using jQuery

This has been shown on many sites, but it took the combination of several articles for me to figure this one out…maybe it’s just me, dunno. Also, it drove me nuts how the states list would disappear if the page was refreshed. I learned how to handle that as well, using jQuery cookies. By the [...]

Save output of print_r to variable instead of displaying it

I found this on someone else’s site (at http://www.electrictoolbox.com/return-information-from-php-print-r/) and thought I’d share it here as well. Something I’ve been wondering about for years and never really figured out how to do, was how to save the output of the print_r command to a variable, instead of actually displaying the contents to the screen. As [...]

Look for promo codes first!

Here’s a quick tip on how to possibly save some money next time you’re doing some online shopping. Before you checkout and pay for your purchase, spend a few minutes and do a quick search online to see if there are any coupons or promotional (promo) codes available for the particular website you’re shopping on. [...]

Best Captcha I’ve Seen Yet!

I’m pretty sure I’m speaking for everyone when I say captcha is usually really annoying and frustrating on most sites. I consider myself to be pretty intelligent and savvy but I have a terrible time trying to figure out what they’re saying most of the time, unless it’s a simple math problem or there’s no [...]

Want to speed up your coding? Give a framework a try!

I’ve been working with PHP for about 10 years now, and the one problem I’ve always had was keeping my code organized and how to reuse my code efficiently. Well, a couple of years ago, I ran across some information about using frameworks to help speed up the coding process. I’m always a big fan [...]

Clicky Stats – The Best Web Stats ever!

My company owns a lot of domain names, and we have created various sites to host on those domains over the years. The one problem we’ve always had was trying to figure out the best web stats software to use on all of these sites. I’ve tried Google Analytics, which is ok but very limiting [...]

Kodak Zi8 1080p Pocket Camcorder

My dad and I have been thinking about creating some informational videos for the visitors to some of our websites, for quite some time. What neither of us had was experience, knowledge, or the equipment to make a good video. So, I did a little research online, asked some friends, and tried to figure out [...]

Speed up your PHP pages with Gzip!

I can’t believe I haven’t learned about this little trick until recently, but I’m sure glad I learned it. A lot of you may already know this, but there’s a simple little tag you can add to the top of your PHP pages that will speed up the transfer of your site significantly, and on [...]

Web Analytics