After reading the excellent php tutorial I have a basic idea of what it's all about. I would like now to build a site with login/password and instant messaging capabilities.

How is password login achieved using php3 only?. I read the thread at the bottom of the section but that was for php4.

Are there any good tutorials for login and instant messaging using php? Or a standard script I can use?