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