View Single Post
Old 01-17-2013, 01:57 PM   PM User | #2
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,659
Thanks: 4
Thanked 2,452 Times in 2,421 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
Not a thing to do with PHP or your htaccess.
If the browser is prepending www on front of a subdomain, than that is an issue with the user's browser. All you can do with it is remove the www from the provided input.
If you are using subdomains though, you should actually set them up. Your control panel should have an option to do so. If they are not real subdomains, I can see that being a bit flaky. You'll need to modify the DNS records to use wildcarded domains as well if they are not yet set.
__________________
As of PHP 5.5, the MySQL library has been officially deprecated. It is recommended to move to either MySQLi or PDO libraries for your mysql connectivity. See here for help choosing which interface you prefer: http://php.net/manual/en/mysqlinfo.api.choosing.php
Fou-Lu is offline   Reply With Quote