Contact: aviboots(AT)netvision.net.il
43,903 questions
57,300 answers
573 users
function get_file_extension($file_name) { return substr(strrchr($file_name, '.'),1 ); } echo get_file_extension('index.php'); /* run: php */