You are going about this wrong. Configure FR to use a database and then all the things you need are available now with very basic php Otherwise you're looking at writing a socket listener on the server end reading radwho output. The radutmp/wtmp files are very inefficient too. Alan