Study WebPortalSystem. This is php.