I have posted a kind of an article with accompanying (working) PHP code about generating and using one time passwords on a Web site. The technique can be useful to temporary logons on public computers to prevent disclosures of “real” passwords.
The whole thing it located at http://www.kyusl.com/scr.php?mod=02