Where do I put server side code

Got it. I wrote that wrong. thanks.