mobilebuzz: yes, I have hostgator reseller plan with cpanel for each domain only1idea: Yes, but I think it is possible by mod_rewrite or any other apache module which can be set up in htaccess (php thread is most close to my problem).
You need to have a wildcard DNS set up. You can learn how to do this here. And you need to catch it in your htacces or apache config. You can also do it directly in PHP here You will then need to send it to your PHP script and deal with it there.