Lato server puoi fare un poi' come vuoi
asp php jsp servlet cgi python o quelle che ti pare.