PHP script needed

Hi… can anyone tell me from where can I get this type of a script or in which category it may be… Like… users signup, they can make their profile, they can seen other members profile & can send them messages… is an example of wat I need.
Tell me how can I get a PHP script like this.