Scripts comprising a PHP proxy can be written in two ways. First, they can be written as a sequence of commands, to be executed one after the other. Second, they can be structured like classes in an object-oriented programming language. Either type of PHP script can be included inside other PHP scripts to minimize repeated code throughout the proxy.
February 26, 2011