PHP

Mamcached: object caching system

Looking to boost your php application’s performance. Check out memcached, a distributed memory object cache. It has hooks for PHP, Perl, and Java so you can share cached objects among scripts in multiple languages.

Bayesian filter in PHP

Bayesian filtering has come to the fore for being exceedingly good at identifying spam. The Mozilla email clients use it and they are excellent, once trained, in separating real spam from false positives. IBM Developer works shows how to implement Bayesian inference in PHP.

Running PHP4 and 5 together

Runnigng PHP4 and PHP5 together using apache proxying. To solve this problem, I used Apache’s mod_proxy module and two apache servers… My primary server runs PHP 5 as an Apache module and a second apache server runs PHP 4.3.5 as a module. My configuration requires that you can setup multiple virtual servers and run Apache …

Running PHP4 and 5 together Read More »

Update to PHP Calendar Class

my PHP Calendar Class. I Fixed a bug that cause the calendar to display improperly if the month begins on a sunday. Added 4 new public methods: getStartTime(), getEndTime(), setMonth(), and setYear(). View source. Download source.

Web Data Analysis with PHP

An interesting article on IBMP’s developer works site touches on how to Take Web data analysis to the next level with PHP. I was expecting an article geared toward getting more interesting metrics out of site access logs but the article focused on using chi-square tests with nominal data like survey results. This article was …

Web Data Analysis with PHP Read More »

php function junction

Working well with php functions Most of the time its very tempting to open up your text editor and start writing code to scratch some itch. Smart programmers know to use functions to wrap up repetitive tasks and make life easier on themselves. The following piece is meant to give your functions a little extra …

php function junction Read More »