Re: url value

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45261
interpreted = N
texte = Give it a try... maybe [url] it in case there's any funny stuff. Do you know if the second word would be the value you want to pass? Could you expect something likewww.somedomain.com/directory1/directory2/directory3/xyz?If you're always trying to get the very last value, your logic would go something like[listwords words=[theURL]&delimiters=/] [text]lastword=[word][/text] [/listwords]Then every iteration through [listwords] will set the variable lastword equal to the current word... at the end, its value will be that of the last word.>So then could I pass word2 to the search page in one fell swoop? > >> From: Daryl Mitchell >> Reply-To: (WebCatalog Talk) >> Date: Thu, 14 Nov 2002 10:29:27 -0600 >> To: (WebCatalog Talk) >> Subject: Re: url value >> >> If you're obtaining it by something like this >> >> >> >> Then you could parse it using >> >> [listwords words=[theURL]&delimiters=/] >> [text]word[index]=[word][/text] >> [/listwords] >> >> And using your example you'd end up with >> >> word1 = www.somedomain.com >> word2 = 1234567 >> >>> hi group, is there a way that I could extract a value that someone enters >>> into a URL and use it for a value in a search through a redirect? >>> >>> If the user keyed in www.somedomain.com/1234567 >>> >>> Using a default page with a redirect could I then take 1234567 as a value >>> into a search page? >>> >>> TIA >>> >>> KenM >> >> -- >> >> Daryl Mitchell >> E-Business Specialist, PW Group >> Saskatoon, SK CANADA >> Tel: (306) 249-9289 >> Toll-free: (800) 842-5515 >> Fax: (306) 249-9276 >> E-Mail: d.mitchell@pwgroup.ca >> Web: http://www.pwgroup.ca/ >> >> ------------------------------------------------------------- >> 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://search.smithmicro.com/ > > >------------------------------------------------------------- >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://search.smithmicro.com/ -- Daryl Mitchell E-Business Specialist, PW Group Saskatoon, SK CANADA Tel: (306) 249-9289 Toll-free: (800) 842-5515 Fax: (306) 249-9276 E-Mail: d.mitchell@pwgroup.ca Web: http://www.pwgroup.ca/------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: url value (Ken MacMurchy 2002)
  2. Re: url value (Daryl Mitchell 2002)
  3. Re: url value (Alex McCombie 2002)
  4. Re: url value (Mark Derrick 2002)
  5. Re: url value (Ken MacMurchy 2002)
  6. Re: url value (Daryl Mitchell 2002)
  7. url value (Ken MacMurchy 2002)
Give it a try... maybe [url] it in case there's any funny stuff. Do you know if the second word would be the value you want to pass? Could you expect something likewww.somedomain.com/directory1/directory2/directory3/xyz?If you're always trying to get the very last value, your logic would go something like[listwords words=[theURL]&delimiters=/] [text]lastword=[word][/text] [/listwords]Then every iteration through [listwords] will set the variable lastword equal to the current word... at the end, its value will be that of the last word.>So then could I pass word2 to the search page in one fell swoop? > >> From: Daryl Mitchell >> Reply-To: (WebCatalog Talk) >> Date: Thu, 14 Nov 2002 10:29:27 -0600 >> To: (WebCatalog Talk) >> Subject: Re: url value >> >> If you're obtaining it by something like this >> >> >> >> Then you could parse it using >> >> [listwords words=[theURL]&delimiters=/] >> [text]word[index]=[word][/text] >> [/listwords] >> >> And using your example you'd end up with >> >> word1 = www.somedomain.com >> word2 = 1234567 >> >>> hi group, is there a way that I could extract a value that someone enters >>> into a URL and use it for a value in a search through a redirect? >>> >>> If the user keyed in www.somedomain.com/1234567 >>> >>> Using a default page with a redirect could I then take 1234567 as a value >>> into a search page? >>> >>> TIA >>> >>> KenM >> >> -- >> >> Daryl Mitchell >> E-Business Specialist, PW Group >> Saskatoon, SK CANADA >> Tel: (306) 249-9289 >> Toll-free: (800) 842-5515 >> Fax: (306) 249-9276 >> E-Mail: d.mitchell@pwgroup.ca >> Web: http://www.pwgroup.ca/ >> >> ------------------------------------------------------------- >> 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://search.smithmicro.com/ > > >------------------------------------------------------------- >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://search.smithmicro.com/ -- Daryl Mitchell E-Business Specialist, PW Group Saskatoon, SK CANADA Tel: (306) 249-9289 Toll-free: (800) 842-5515 Fax: (306) 249-9276 E-Mail: d.mitchell@pwgroup.ca Web: http://www.pwgroup.ca/------------------------------------------------------------- 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://search.smithmicro.com/ Daryl Mitchell

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:

emailer on Windows Beta 18 (1997) [WebDNA] Formatting numbers - truncation instead of rounding (2011) WCS Newbie question (1997) Setting up shop (1997) Banners (1997) WebCat B13 Mac CGI -- Frames question (1997) Searching/sorting dates (1997) [cart] not being interpreted inside [founditems] (1997) Commas in search (1998) NT or Mac (1997) Delete file through browser (1999) Comments in db? (1997) Single Link browsing (1997) Setting up WebCatalog with Retail Pro data (1996) Erotic Sites (1997) WAS Strange non-display problem, now BAD MATH (2002) can we get string variables? (1998) [OT] Mistakerosoft (2003) using showpage and showcart commands (1996) Exclamation point (1997)