Userlist to php?

Which hub software is the best? Where can I find script XXX? Discuss it here...(no, this is not for advertising your hub...)

Moderator: Moderators

Locked
[FIN]makeuu
Posts: 1
Joined: 2004-11-16 13:53

Userlist to php?

Post by [FIN]makeuu » 2004-11-16 13:58

How I can print dc++ hub userlist to php? :) I need it to my hub homepages? :o

TheParanoidOne
Forum Moderator
Posts: 1420
Joined: 2003-04-22 14:37

Post by TheParanoidOne » 2004-11-16 17:55

You can't (at least not with vanilla DC++).
The world is coming to an end. Please log off.

DC++ Guide | Words

Sedulus
Forum Moderator
Posts: 687
Joined: 2003-01-04 09:32
Contact:

Post by Sedulus » 2004-11-17 21:11

if you're using a hubsoft that supports scripting (e.g. ptokax), it's easy. just hook in the ontimer function and dump a list of users to some text file every minute (or whatever timespan you choose). with php you can parse that list and print it any way you like.
http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)

Locked