Login without using php

is it possible to login without using php , if i have saved the information in a text file.
anyone can help me ?