Possible Duplicate:
Create Subdomains on the fly with .htaccess (PHP)
for one of my scripts, i want it so that each of my clients has their own subdomain
however, i want each subdomain to use the exact same script, and the exact same database
can this be accomplished with HTACCESS?
example: john.mysite.com would take them to my script, setting a username variable as john...so they can be identified in the database...
how can i do this?