PHP code examples for HomeZilla