Extract my page name
This WebDNA talk-list message is from 2006
It keeps the original formatting.
numero = 66723
interpreted = N
texte = HiSorry I'm sure this is simple my brain has just stopped functioning at the moment.I have a database with various urls in it that could be stored as '/ mypage.html' or they could be '/www.mydomain.com/mypage.html'In either case I need a way to extract the mypage bit that will work with any variation of that and I can't figure out how to do it. Does anyone have any suggestions, I have always used...[text]PAGENAME=[Middle StartAfter=/&EndBefore=.][myURL][/middle][/text]....which used to work fine until the domains part was also introduced. Unfortunately I have little or no control over the entered url so I need to figure out a way.Any help much appreciated.Cheers========================================Steve Craig - Asylum Interactive LtdTel +44 1330 860550 Fax +44 1330 860880========================================http://www.asylumweb.comEmail: steve@asylumweb.comSkype: s.craig - iChat: steve.craig========================================-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
HiSorry I'm sure this is simple my brain has just stopped functioning at the moment.I have a database with various urls in it that could be stored as '/ mypage.html' or they could be '/www.mydomain.com/mypage.html'In either case I need a way to extract the mypage bit that will work with any variation of that and I can't figure out how to do it. Does anyone have any suggestions, I have always used...[text]PAGENAME=[Middle StartAfter=/&EndBefore=.][myURL][/middle][/text]....which used to work fine until the domains part was also introduced. Unfortunately I have little or no control over the entered url so I need to figure out a way.Any help much appreciated.Cheers========================================Steve Craig - Asylum Interactive LtdTel +44 1330 860550 Fax +44 1330 860880========================================http://www.asylumweb.comEmail: steve@asylumweb.comSkype: s.craig - iChat: steve.craig========================================-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Steve Craig
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
WebCat2b13MacPlugIn - [include] (1997)
[LOOKUP] (1997)
Searching multiple fields from one form field (1997)
[delete] problem (1997)
Search (1997)
Stumpted Again (1997)
Reversed words (1997)
WebCatalog2 Feature Feedback (1996)
Question... (2002)
all records returned. (1997)
t or f (1997)
Banner DNA (1997)
Weird bug, or is there something amiss? (1997)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
emptying shopping carts and orders folder (2004)
Emailer setup (1997)
Add a field to the error log? (1997)
Consulting in San Diego? (2000)
Overiding the sku (2001)
[OT] Linux -> Winderz (2005)