Ok, well I need my PHP script to send a e-mail after someone enters there e-mail.

Also
Can someone help me with registration thing

I need it to give user random password then e-mail it