Retrieve the extension of the URL
<p>I want to hit a URL - <code>http://www.blahblah.com/on/demand</code></p>

<p>After each hit the aforementioned URL will generate an extension.</p>

<p>I.e. <code>http://www.blahblah.com/on/demand/C1212</code></p>

<p>So, that I want to do is to take the generated extension (C1212)
I have no idea how can I do this? Does anyone know how can 
I do this with PHP?</p>
