A php txt control class