add get_file_contents for php<4.2, use get_file_contents($filepath) instead of fread($fp, filesize($filepath))
add get_file_contents for php<4.2, use get_file_contents($filepath) instead of fread($fp, filesize($filepath))

dilawar/moodle