require_once('PhpSecInfo/PhpSecInfo.php');
// instantiate the class
$psi = new PhpSecInfo();
// load and run all tests
$psi->loadAndRun();
// grab the results as a multidimensional array
$results = $psi->getResultsAsArray();
echo ""; echo print_r($results, true); echo "
";
// grab the standard results output as a string
$html = $psi->getOutput();
// send it to the browser
echo $html;
### HOW CAN I OFFER FEEDBACK, REPORT BUGS, COMPLAIN, ETC.?
The best way is to subscribe to and post on the PHPSecInfo Mailing List:
http://lists.phpsec.org/mailman/listinfo/phpsecinfo
### HOW CAN I CONTRIBUTE TO PHPSECINFO?
The best was is to propose new tests on the mailing list. If your
proposal is accepted, you can go ahead and create the test, and submit
it to the list.
If you have contributed tests to PhpSecInfo, or plan on doing so, I'd
like you to give serious consideration to signing the Zend CLA. It
won't put any additional burden on you, as I'll take care of porting
contributed tests to the Zend_Environment_Security model.