added basic PHP forms

must fix and refactor this  ugly ugly code.