/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/** * Count number of lines in a file. * * @access private * @param string filepath : The name of the file * @return int : The number of lines */ private function _count_lines($file) { $count = 0; { $count++; } return $count; } // End of _count_lines