Un piccolo tutorial che può aiutarti
http://tiffanybbrown.com/2008/12/14/...ys-with-php-5/