Made html document a php application V1