Page 1 of 1

Function to get URL, but maintains the "www"

Posted: Fri Nov 13, 2009 1:45 pm
by target
Does anyone have a PHP function that includes the "www" if it exists?

I need to check for the WWW but all current functions seem to omit the "www" regardless of whether it's there.

Thanks for the help.

Re: Function to get URL, but maintains the "www"

Posted: Fri Nov 13, 2009 6:27 pm
by Jonah Bron