Archive for the ‘PHP’ Category

Lost Flirts - a Joomla 1.5 component from scratch

Tuesday, September 29th, 2009

Update: Paceville.com is now online to check out the interface go here.... Read More

Image manipulation and watermarking in PHP with GD2

Thursday, September 10th, 2009

The following functions are what I usually use to handle images in my projects. We’ve got reScaleImage which will resize and save an image, keeping aspect ratio.... Read More

Hardening the Joomla hacks

Thursday, August 6th, 2009

I’m wrapping up the Joomla work here so it’s time to talk a bit about security. There are two main issues, sanitizing GET and POST and making sure people who are not supposed to call certain methods can’t do so. ... Read More

Customizing Joomla 1.5

Wednesday, July 29th, 2009

Update: Paceville.com is now online.... Read More

Zend Soap Client example - talking with Java services

Monday, June 8th, 2009

I’ve been doing some SOAP work lately (communicating with Java services by way of XML) and it’s time to recap how unbelievably hassle free and simple this is with the right tools.... Read More

H2O and PHP Doctrine

Thursday, May 28th, 2009

A few weeks ago I was discussing a project with Charlie Madison of ProWebScape. He mentioned H2O, that he would rather use that than Smarty. So I checked it out and it seemed like the natural evolution in PHP templating.... Read More

The missing fluent MySQL wrapper

Thursday, April 30th, 2009

I just got a mail from John Fraboni, asking about that MySQL wrapper I’m using in my Zend AMFPHP tutorial. ... Read More

Compiling PHP 5.2.9 on Ubuntu

Monday, March 30th, 2009
[code]PGNvZGU+DQp0YXIgLXhqZiBwaHAtNS4yLjkudGFyLmJ6Mg0KDQpjZCBwaHAtNS4yLjkNCg0KYXB0LWdldCBpbnN0YWxsIHBocDUtZGV2IGxpYm15c3FsY2xpZW50MTUtZGV2IGJ6aXAyIGxpYmN1cmwzIGN1cmwgbGlicG5nMTItZGV2IGxpYmZyZWV0eXBlNi1kZXYgbGlibWNyeXB0NCBsaWJtY3J5cHQtZGV2IGxpYm1oYXNoMiBsaWJtaGFzaC1kZXYgbGlieG1sMi1kZXYgbGlieHNsdDEtZGV2IGFwYWNoZTItcHJlZm9yay1kZXYgbGlianBlZzYyLWRldiBmcmVldHlwZTIgbGlieGZ0IGxpYnhmdC1kZXYgbGliY3VybDQtZ251dGxzLW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an example that worked on Dapper. Here I have compiled as static libraries and put them in the /usr/local/lib dir:... Read More

Simple PHP class for parsing markup

Thursday, March 26th, 2009

In the Zend Client tutorial I touched upon a little bit of code I’ve written recently for retrieving poker player statistics from various backend affiliate sites.... Read More

Zend Amf and class mapping with Flash CS3 / AS3

Tuesday, March 24th, 2009

Update: I just got a mail from Julien Iafrancesco:... Read More