Create getthreadmessages.php