DOCUMENTATION FOR INDEX.PHP



File Purpose:File Depedencies
Displays the main login page for TU::Chem inventory systemconfig.inc.php

External Function callLocation of Definiton
cfg::get_tagline()config.inc.php
cfg::getWebDB()config.inc.php
cfg::format_date()config.inc.php
DB::getToday()include/db/db_mysql.php
$db->query()[DB::query()]include/db/db_mysql.php
DB::fetch_assoc()include/db/db_mysql.php
date()PHP Built-In Function

External Variable NamePurpose
cfg::$app_titleTitle of the TU::Chem application
$_GET['logout']For testing if we are coming to this page because we logged out of the TU::Chem system

Internal Function callPurpose
n/an/a

Class NamePurpose
n/an/a

Local VariablesPurpose
$dbOur mySQL database object returned by cfg::getWebDB()
$nowCurrent date appopriate for database used (mySQL)
$stmtResult from SQL query
$arrLooping variable for processing of $stmt result

Comments
  • This file does not validate to XHTML 1.0 Transitional
  • charset in meta tag (iso-8859-1) does not match what is being sent by the server (UTF-8)
  • numerous URL strings using the ampersand character (“&”) instead of “&”
  • events not named correctly (i.e. onLoad instead of onload)