<?php $my_url = "http://www.imdb.com/title/tt1840309/?ref_=hm_cht_t1"; function GetIMDBTitle($url) { $pass1 = explode("imdb.com/title/",$url); return $pass1[1]; } echo GetIMDBTitle(my_url); ?>
You have javascript disabled. You will not be able to edit any code.