Quote:
Also, could you list the 5 most common mistakes in PHP programming, and a way to circumvent that?
1. Failing to validate data correctly - this is the main one really. Not checking that positive values are positive. Not checking that values selected from a drop-down, really are ones which were in the drop-down in the first place. Attackers can modify the form so they can enter values which aren't present in a drop-down, so you can't rely on it (not to mention, if the drop-down is dynamically generated, the options may have changed by the time the person submits it)