eh, dipende da che linguaggio usi: asp, php, jsp...

prova a cercare nel forum adatto e nelle risorse free di html.it