RE: Getting the domain name

2003-07-17 Thread Keith Szlamp
Ovid Says > To be honest, while I don't know a simple answer for this, the reality is that this answer doesn't work very well. People can easily type stuff like: http://blogs.server.somehost.co.uk/ http://foo.co.uk/ https://www.host.com/ Keith Says > Hmm... I agree with you. It's the same

RE: Getting the domain name

2003-07-17 Thread Keith Szlamp
$domain =~ s/^http:\/\///; Regardless of what they enter, you should end up with just 'domain.tld' or 'sub.domain.tld' if the name being forward using sub domains - like many ISPs do for free hosting space. Hope that helps... ~Keith Szlamp http://szlamp.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]