This is for an existing flash chat room - I would like to limit it per domain when I sell it.
On chat load, it should communicate with a PHP (creating XML or whatever) file to check weather the current domain is licensed.
the chat is located in [url removed, login to view]
when a visitor goes there, it will check against the main server with something like that:
[url removed, login to view]?url=[url removed, login to view]
If it's valid, allow it to work and place a cookie for 1 hour.
If not valid, display a popup.
If no communication (main server is down) - allow it to work.