I can't find any resources on how someone can connect to a newsgroup on a Usenet server and read messages, get attachment sizes, get the messages age... and so on, using PHP.

Basically, right now, I have a script that allows a user to upload a nzb file. After the nzb file is uploaded I need to be able to verify that all of the messages listed in the nzb file are actually there, then grab the total size of all of the attachments, and the age of the messages. Then write it all to the database.

Does anyone have any experience doing anything like this? I need to be pointed in the right direction. I'm not new with PHP, but I'm not a pro.