blob: 972faa3ee7f96f1758f44a9dacdf84cea428ed69 [file] [log] [blame]
<?php
#*****************************************************************************
#
# common.php
#
# Author: Lawrence Mandel, IBM
# Last updated: 2005-12-21
#
# Description: Contains common functions used on the WTP site.
#
#
#****************************************************************************
function &read_file($file_name) {
$fp = fopen($file_name, "r");
$file_contents = fread($fp, filesize($file_name));
fclose($fp);
return $file_contents;
}
?>