$movie_title = 'Monsters vs. Aliens (2009)'; include '../../inc/header.ihtml'; include '../../inc/meta/movie_info.html'; ?>
'.$name.'
'.$director.'
'.substr($plot,0,strpos($plot,''; $content.= 'Release Date'.substr($release_date,0,strpos($release_date,''; $content.= 'MPAA'.$mpaa.''; $content.= 'Run Time'.$run_time.''; //$content.= 'Full Details'.$url.''; echo $content; //gets the match content function get_match($regex,$content) { preg_match($regex,$content,$matches); return $matches[1]; } //gets the data from a URL function get_data($url) { $ch = curl_init(); $timeout = 5; curl_setopt($ch,CURLOPT_URL,$url); curl_setopt($ch,CURLOPT_RETURNTRANSFER,1); curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,$timeout); $data = curl_exec($ch); curl_close($ch); return $data; } ?>
'.substr($release_date,0,strpos($release_date,''; $content.= 'MPAA'.$mpaa.''; $content.= 'Run Time'.$run_time.''; //$content.= 'Full Details'.$url.''; echo $content; //gets the match content function get_match($regex,$content) { preg_match($regex,$content,$matches); return $matches[1]; } //gets the data from a URL function get_data($url) { $ch = curl_init(); $timeout = 5; curl_setopt($ch,CURLOPT_URL,$url); curl_setopt($ch,CURLOPT_RETURNTRANSFER,1); curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,$timeout); $data = curl_exec($ch); curl_close($ch); return $data; } ?>
'.$mpaa.'
'.$run_time.'
'.$url.'