Your best bet would be to go to that php.net site viv5 linked to above, and learn how each of those commands works, then you'll know what to do. If you're looking for a script already written, try a Google search or a script library site like Hotscripts. Have you also search Sitepoint? Lots of articles here, too. Then you can come back here with specific questions if you want specific answers.