posted 10/12/2008 by Chris
Comments: 0

Php5tube is a free, open source class written by Debugged Interactive Designs in PHP5 to act as a wrapper for Youtube's API. Methods process the response XML and return a friendly array of data to make development simple and intuitive...

posted 10/8/2008 by Chris
Comments: 0

Captcha is a free, open source CakePHP Component wrapper class written by Debugged Interactive Designs to take advantage of the functionality provided by the Securimage class. Securimage is an open-source free PHP CAPTCHA script for generating complex images and CAPTCHA codes to protect forms from spam and abuse. It can be easily added into existing forms on your website to provide protection from spam bots. It can run on most any webserver as long as you have PHP installed, and GD support within PHP. Securimage does everything from generate complicated CAPTCHA images to making sure the code the user entered was correct...

posted 10/8/2008 by Chris
Comments: 0

Mailto is a free, open source CakePHP Helper class, written by Debugged Interactive Designs, to provide a solution to spambots collecting e-mail addresses from websites. It encrypts the anchor tag (with PHP) using ROT13 encoding, and is decoded (with Javascript) at run-time. The ROT13 encoding simply shifts every letter by 13 places in the alphabet while leaving non-alpha characters untouched...

posted 09/30/2008 by Chris
Comments: 0

This was originally a tutorial I wrote for bakery.cakephp.org, but it didn't get published because it was "more a general PHP tip than a CakePHP article."  Haters.

Anyways, if you're using the function usort inside of a cakephp controller and are receiving errors like "Warning: usort() [function.usort]: Invalid comparison function in...", then you may be referencing your sorting function incorrectly.  Also useful examples showing how to use Unix timestamps (date/mktime)...

posted 09/21/2008 by Chris
Comments: 0

After copying a CakePHP project (and adding a few new controllers) I was getting a "Missing Database Table" error, even though I knew the table existed.  To confuse things even more; other tables in the same database were saving and retrieving data successfully.  I searched google for a solution and came across the article "Missing Database Table in Cake PHP" on jroller.com...

Choose Page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14