I know how to read the currently online users via:
- Code: Select all
$info = new pfcInfo( md5(yada) );
$users = $info->getOnlineNick(foo);
$num_users = count($users);
but this gives me 2 options to get it dynamically:
1) via the old fashioned way of a second ajax (i will not do such a thing,
pfc is already a heavy resource for a free server)
2) via pfc's response class, somehow
So how can i instruct the pfc to call the above code the
time it constructs its response, so to return that little tiny
number (instead of a resource-waster second ajax)
I dont know if there's already such a feature (modifying
responses by PHP and handle them by javascript) or
where to look

thank you for a needed masterpiece