ChrisRChamberlain
Programmer
Hi all
Need to programatically determine a homepage from a URL.
The third "/" in the string marks the end of the homepage, so
is the homepage.
What exceptions are there going to be to this theory, please?
TIA
![[pc2] [pc2] [pc2]](/data/assets/smilies/pc2.gif)
PDFcommandertm.net
PDFcommandertm.co.uk
Need to programatically determine a homepage from a URL.
Code:
[URL unfurl="true"]http://www.tek-tips.com/threadminder.cfm?pid=215&page=1#postform[/URL]
Code:
[URL unfurl="true"]http://www.tek-tips.com/[/URL]
What exceptions are there going to be to this theory, please?
TIA
FAQ184-2483 - answering getting answered.
Chris ![[pc2] [pc2] [pc2]](/data/assets/smilies/pc2.gif)
PDFcommandertm.net
PDFcommandertm.co.uk