Theres 2 ways to basically do that. Ask LFSWorld using a script, or by reading the host file generated by LFS.
The details to query LFSworld, if you want to create it yourself can be found here:
http://www.lfsforum.net/showthread.php?t=183
There are a few libraries out there which will take away the hard work:
http://dsrc.digiserv.net/forum/showthread.php?t=547
and a few others around (no links off hand)
If your web server is on the same server as the LFS server, or you can create copies of the host file, take a look at:
http://www.lfsforum.net/showthread.php?t=195
The common denominator is that you need server side scripting in order to do this. If you dont have PHP, ASP, CSP, JSP, or something similar then you've got very limited choices.