Yes. Well kind of. When you say it will output a html file, a login script can redirect you to a html file, but html files cannot hold state as such. Meening... in order for your users to remain logged in they would need to be within a php application.