FMS used to come with CWP sample PHP files. These were pretty helpful (and still are). Unfortunately the only way to get them is to have FMS from a few versions ago. I would like to see these included again and maybe updated if needed. Maybe this could be part of the FDS as a CWP developer package.