I'm new in PHP but I have web scripting back ground. I am coding a website which will fit my needs. Regardless to say security subject makes me worry the most.
I have a programmer who is dealing with our websites for some years, but I would like to do it myself again. Till now, everything is going smooth. Our website got hacked before that's why it is making me more nervous.
We had poison null byte attacks, session stealing, adding <script> to our database etc... How do I protect our websites from such hack attempts?
Thank you for your help in advance.