A common feature found on many websites upon user registration are random passwords. This tutorial will walk you through a script that generates a random password to a given length.
This article examines how PHP handles passing of variables internally, as well as how this relates to memory usage. This information is can be very useful for any professional PHP developer as it shows how passing variables by reference will normally result in more (not less) memory being used.
If you run a serious webpage where you save login information for your members to a database it is generally a very good idea to perform some kind of encryption on these password to prevent the information to be shared in case your datebase would be hacked. This tutorial shows you how to do this.