<?php $url = 'http://something.example.com/blah/filename.jpg'; var_dump( array_pop(explode('.', $url)) );
You have javascript disabled. You will not be able to edit any code.