I have a form where I try to prevent the user from entering the same URL twice. But sometimes a URL has an optional www prefix -- it refers to the same server either way. Other times though, the prefix matters. You could have "otherserver.mydomain.com"
which is not the same computer, and does not have the same files, as
www.mydomain.com.
Is there a way to test whether they are the same computer?
The real purpose of this is to prevent multiple people from referring to the same file on the same server. A file with the same name on a different server is OK, because its a different file.
Thanks in advance.
Go to the complete details ...