Since PHP 4.1, the way HTTP POST/GET request variables are handled has also
changed (we won't discuss that here, refer to the
PHP web site) and that's the reason why the first step in the
script is, if the PHP version is not 4.1, creating and initialising a
$_REQUEST array (PHP 4.1 compliant behavior) containing the
HTTP_POST and GET arrays (used by former versions of PHP). This makes sure the
rest of the script can be developed following the latest recommendations of PHP
while still working fine on former versions (the test
!= '4.1' is
not fully correct as also returning true for higher versions of PHP).
Finally comes the definition of the visuals parameters and for this example I
limited their number to four: font, font size, font unit and page background
color. I recommend that, when naming the first dimension of the
$VISUALS array, you link it to structural elements of your web
page. Let's imagine that you define visual parameter for the footer section of
your web then declare a $VISUALS[0]['footer'] dimension.