On Sat, 6 Apr 2002, Joerg Hanke [ML-php] wrote: > i've got the possibility to create alias subdomains, which redirect all > to the document-root... > > e.g.: > > http://adam.domain.com redirects to http://domain.com > > i want to redirect the users who access http://adam.domain.com to > http://domain.com/home/adam > > how to do this best in php??
Do you really need to use PHP for this? The fastest and easiest way is using Apache's mod_rewrite. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php