WordPress Plugin Activation Code

Posted by Tim on February 7th, 2007

I just had to look this up from my own comment to a support question on the WordPress codex so I’m posting it here for my future reference. However, this pattern is a good pattern to use when needing to add an activate function call for your plugin. Read the rest of this entry »

WordPress Plugins

Posted by Tim on January 15th, 2007

Here is a little tidbit that has helped me when programming WordPress plugins.

Read the rest of this entry »

Quick Solution to Vexing HTTP POST Problem

Posted by Tim on November 30th, 2006

I recently added a new tool to my www.ThePhpPro.com web site.

This tool is a PHP Code Beautifier program.

There has been just one problem. Sometimes when I pasted a huge amount of text into the box, I would get an HTTP error message stating “FORBIDDEN.”
Read the rest of this entry »

New PHP Article

Posted by Tim on November 19th, 2006

Last week I posted a new article to my professional web site. It talks about PHP templates and my approach to this thorny issue. Many people have different opinions about templates - in the article I present what I believe to be a “Best Practice” approach.

You can read the article.

New Products Available

Posted by Tim on November 1st, 2006

I have launched 3 new products on my professional website: www.ThePhpPro.com

I have an ASCII - read keyboard art - CAPTCHA that requires no image libraries for PHP. In fact, it is so backwards compatible, it should work on PHP version 3 with perhaps only a minor change (opening and reading files) needed.

It’s quite clever, you really should go check it out.

I also have packaged the ascii font engine from tppCaptcha and have released a $1 ascii art font package targeted at giving website owners the ability to output email addresses in a form that is readable by humans, but not by machines.

And finally, I have spent the better part of a month taking the code from my AJAX tutorial and polishing it, learning a bunch more about ajax, and packaging it up into a product available for sale. It utilizes connection pooling so multiple connections can be running at once. tppAJAX will prove to be a capable inexpensive AJAX toolkit. It also happens to be on sale (as of the writing of this article) also.

CHIP: Code Highlighting in PHP

Posted by Tim on May 31st, 2005

I’ve been looking for something similar to this. While this is not the complete solution I need, it’s close enough that I may create a CLI interface, or advanced web interface to this program.

Update: I was unable to get this working on php files under windows.

CHIP: Code Highlighting in PHP

Nanoweb - The PHP Web Server

Posted by Tim on May 23rd, 2005

A webserver built in php (with a single caveat)! This should make building desktop php applications that use a browser feasible. Think about the difference between installing a huge install of Apache, PHP and MySql when one could use PHP and SQLite. I’m going to keep my eye on this project!

Nanoweb - The PHP Web Server

PRADO Component Framework for PHP5

Posted by Tim on May 23rd, 2005

Oh what I would give if this were available for Php4

This project intrigues me to the point of insanity! I wish I could spend the time getting to know how to use this toolkit. Check it out, maybe you’ll have the time I don’t. :)

I’m going to try to get the time next winter to play with this, and who knows, by that time maybe my web hosting company will support php 5.

PRADO Component Framework for PHP5

PHP: FormHandler

Posted by Tim on May 23rd, 2005

This is similar (perhaps better executed too) to one of my current personal projects. I may either start using this, or modify my system to be object oriented instead of array definitions.

FormHandler - Home