Simple php tools