Load File into String
2
This function loads an File into an String.
/**
* Method load File into an String.
*
* Method load File into an String.
*
* @return string | false
* @access public
*/
function loadFileToString($File=null) {
// If file exists load file into String.
if(file_exists($File)) {
return implode('',file($File));
} else {
return false;
} // End if-else
} // End function






There are currently no comments for this snippet.