Contact: aviboots(AT)netvision.net.il
39,857 questions
51,778 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 */