<?PHP
#
#   FILE:  PhpInfo.php
#
#   FUNCTIONS PROVIDED:
#       FunctionName($Parameter, $Parameter)
#           - brief description of function supplied for use in HTML file
#
#   FUNCTIONS EXPECTED:
#       FunctionName($Parameter, $Parameter)
#           - brief description of function that HTML file must supply
#
#   OPTIONAL FUNCTIONS:
#       FunctionName($Parameter, $Parameter)
#           - brief description of function that HTML file may supply
#
#   FORM FIELDS EXPECTED:
#       F_FormFieldName
#           - brief description of form field purpose and/or content
#
#   Copyright 2011 Internet Scout Project
#   http://scout.wisc.edu/
#

# ----- EXPORTED FUNCTIONS ---------------------------------------------------

# ----- LOCAL FUNCTIONS ------------------------------------------------------

# ----- MAIN -----------------------------------------------------------------

PageTitle("PHP Configuration Info");

# require certain privileges to view the page
CheckAuthorization(PRIV_SYSADMIN, PRIV_USERADMIN, PRIV_COLLECTIONADMIN);

# if being reloaded within iframe
if (isset($_GET["IF"]))
{
    # print PHP info
    phpinfo();

    # prevent any additional HTML output
    $AF->SuppressHTMLOutput();
}
