Archive for November, 2007

November 28, 2007 Off

Control Suite, High Quality Controls & Widgets for Prototype.js

Javascript

Ryan Johnson, the founder of LivePipe, created one of the best prototype-based widgets I’ve ever used.

Control Suite is a collection of six high quality widgets and controls for Web 2.0 applications built using the Prototype JavaScript framework. Each script is well tested, highly extensible, fully documented and degrades gracefully for non JavaScript enabled browsers where possible. All scripts are MIT licensed and are thus completely free for any purpose in any project.

Thus far, the SelectMultiple is finding some serious use in my web applications. Assuming I come up with something not already discussed in Ryan’s examples, I’ll post it in Labs.

Go to the official Control Suite website.


November 27, 2007 6

A Simple/Secure Email Class For PHPMailer

CakePHP PHP

If you’re not careful, sending email via PHP is about as safe as cookies at Fat Camp. BKWLD was recently tagged by a spammer who noticed one such insecurity on one of our websites and ended up using our server to send hundreds of emails. It wasn’t until MediaTemple informed us of this breach that we realized what had happened.

The method most spammers use is called a “mail injection”, in that the spammer manipulats the PHP mail() function via a custom form post, etc. I won’t go into details, as a quick search on Google came up with over 225,000 pages describing this technique – here are a few.

Getting around these hacks requires detailed validation of your data.Thankfully I’ve done everything for you using the best PHP email class around, PHPMailer. My class is called SendMail and it’s an extension of the PHPMailer class. The result is a powerful script capable of sending email via SMTP or POP3, all without handing over your server to a toothless spammer.

Read the rest of this entry »


November 20, 2007 3

Custom CakePHP Errors – A Complete Run Down

CakePHP

Taking advantage of custom error documents usually requires tapping on an .htaccess file, as discussed in my previous custom error article. However CakePHP makes for easy custom error handling thanks to a pre-defined Cake system.

I’ll walk you through creating custom error pages, both simple and complex.

Read the rest of this entry »


November 19, 2007 5

Vision, Simple PHP/JS/CSS Photo Viewer

CSS Labs PHP

The simplest image viewer known to man has been created. Visión uses a light touch of PHP, Javascript and CSS to create a straightforward, stylish image viewer. It can be incorporated into any website in under three minutes and takes up less than 20kb of space. Stop reading this and download Visión.

Read the rest of this entry »


November 12, 2007 Off

Support Labs: Buttons & Badges

Labs

You now have a chance to support Iamkoa Labs via buttons and badges. If you feel that Labs has helped you in any form, support the cause by downloading a small collection of Labs buttons and placing one on your website.

Read the rest of this entry »


November 8, 2007 16

Secure CakePHP via Sessions & Magic (Login / Logout)

CakePHP

Making sure a CakePHP application is secure is a total snap thanks to “sessions” – the rock animal of websites. Put on your All-Stars and boot up your MacBook – I’m about to go Discovery Channel on your ass.

Read the rest of this entry »


November 6, 2007 14

Multiple Image Uploads Into Single MySQL Table (CakePHP)

CakePHP

The impossible has been done – uploading multiple images in CakePHP. Find out how easy it is, and why it was never really impossible to begin with.

Read the rest of this entry »


November 4, 2007 1

A New Look For Labs!

Labs

It’s been scrubbed, polished, and given some serious lovin’. Iamkoa Labs takes advantage of Shaun Inman’s sIFR (the third version to be exact) to display wicked fonts via Flash. Labs theme is based off of Stephen Reinhardt’s minimalistic WordPress theme, Elite and has some Coca-Cola-like colors to go along with it. If you use Photoshop, feel free to download the Labs Photoshop swatch set.

Happy trails.