Dynamic subdomains using htaccess
This will render abcd.yourwebsite.com into yourwebsite.com/wor_out.php?url=abc
RewriteEngine OnRewriteCond %{HTTP_HOST} !^www\.yourwebsite.comRewriteCond %{HTTP_HOST} ([^.]+)\.yourwebsite.comRewriteRule ^(.*)$ /path_to_your_site/httpdocs/work_out.php?url=%1
[ad code=2 align=center]