So i'm trying to make a script that reads from forum last post first word and displays it on my site
vBulletin forum
http://www.forum.com/showthread.php?85788&goto=newpost
it uses javascript, so I can't get any info :S
My script so far
<?php
header("content-type: text/plain");
$myurl = 'http://www.forum.com/showthread.php?85788&goto=newpost';
$curl_handle = curl_init();
curl_setopt ($curl_handle, CURLOPT_URL, $myurl);
curl_setopt ($curl_handle, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($curl_handle, CURLOPT_CONNECTTIMEOUT, 1);
$buffer = curl_exec($curl_handle);
curl_close($curl_handle);
echo $buffer;
?>