Hello,
I am currently trying to take the $_SERVER["HTTP_HOST"] variable and strip the www. from the front of the variable. However the problem is some users are coming to the site without the www at the front and others are. I would like to be able to get it so that the php code could strip the www if it exists if not just print the variable.
any assistance would be great.