<?php $file_name = '\\foo\\bar\\baz'; $ext = substr( strrchr($file_name, '\\'), 1); echo $ext;
You have javascript disabled. You will not be able to edit any code.