<?php$curdir = getcwd();chdir('./PATH/TO/FORUMS');require_once('./global.php');chdir($curdir);$post = $vbulletin->db->query_first(" SELECT * FROM `post` WHERE `postid` = 1111 LIMIT 1");echo $post['message'];?>