A document on PHP security would be as simple as "Don't use it." Fortunately, we...