PHP interface to catposts