Contact: aviboots(AT)netvision.net.il
41,387 questions
53,933 answers
573 users
$current_file_name = basename($_SERVER['PHP_SELF']); $number_of_lines = count(file($current_file_name)); echo "$number_of_lines lines in $current_file_name"; /* run: 19 lines in test.php */