Re: [showif],[refferer],[include] in errormessages.db

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 44704
interpreted = N
texte = At 2:02 PM 11/1/02, John Peacock wrote: >Clint Davis wrote: >>What about this: >>[getmimeheader host] > >This is web server dependent, unfortunately. I believe that >HTTP_HOST is the standard MIME header, but M$loth didn't do it that >way (or is it the other way around?). For a given server, however, >code like the above will be consistent; we use it for our >multiheaded hydra of a site (four sites that act as one, or one site >that looks like four, depending on how you look at it).But...[ListMIMEHeaders] [showif [value]^host] [text]myHost=[value][/text] [/showif] [/ListMIMEHeaders]Should give you the host name regardless of server implementation.--joe -- ____________________________________________________________ Joseph D'Andrea ~ http://www.west21.com/ ~ JoeDan@West21.com WEST21.com Internet services for the 21st Century webhosting ~ co-location ~ wireless access WebCat and MGI database programming ____________________________________________________________------------------------------------------------------------- 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: [showif],[refferer],[include] in errormessages.db (Joe D'Andrea 2002)
  2. Re: [showif],[refferer],[include] in errormessages.db (Alex McCombie 2002)
  3. Re: [showif],[refferer],[include] in errormessages.db (Alex McCombie 2002)
  4. Re: [showif],[refferer],[include] in errormessages.db (Christer Olsson 2002)
  5. Re: [showif],[refferer],[include] in errormessages.db (Alain Russell 2002)
  6. Re: [showif],[refferer],[include] in errormessages.db (Lester Emo 2002)
  7. Re: [showif],[refferer],[include] in errormessages.db (Alex McCombie 2002)
  8. Re: [showif],[refferer],[include] in errormessages.db (Alain Russell 2002)
  9. Re: [showif],[refferer],[include] in errormessages.db (Alex McCombie 2002)
  10. Re: [showif],[refferer],[include] in errormessages.db (John Peacock 2002)
  11. Re: [showif],[refferer],[include] in errormessages.db (Clint Davis 2002)
  12. Re: [showif],[refferer],[include] in errormessages.db (Larry Goodhew 2002)
  13. Re: [showif],[refferer],[include] in errormessages.db (Alex McCombie 2002)
  14. Re: [showif],[refferer],[include] in errormessages.db (Lester Emo 2002)
  15. Re: [showif],[refferer],[include] in errormessages.db (Alex McCombie 2002)
  16. Re: [showif],[refferer],[include] in errormessages.db (Alex McCombie 2002)
  17. Re: [showif],[refferer],[include] in errormessages.db (Lester Emo 2002)
  18. Re: [showif],[refferer],[include] in errormessages.db (Alex McCombie 2002)
  19. Re: [showif],[refferer],[include] in errormessages.db (Gary Krockover 2002)
  20. [showif],[refferer],[include] in errormessages.db (Lester Emo 2002)
At 2:02 PM 11/1/02, John Peacock wrote: >Clint Davis wrote: >>What about this: >>[getmimeheader host] > >This is web server dependent, unfortunately. I believe that >HTTP_HOST is the standard MIME header, but M$loth didn't do it that >way (or is it the other way around?). For a given server, however, >code like the above will be consistent; we use it for our >multiheaded hydra of a site (four sites that act as one, or one site >that looks like four, depending on how you look at it).But...[listmimeheaders] [showif [value]^host] [text]myHost=[value][/text] [/showif] [/ListMIMEHeaders]Should give you the host name regardless of server implementation.--joe -- ____________________________________________________________ Joseph D'Andrea ~ http://www.west21.com/ ~ JoeDan@West21.com WEST21.com Internet services for the 21st Century webhosting ~ co-location ~ wireless access WebCat and MGI database programming ____________________________________________________________------------------------------------------------------------- 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/ Joe D'Andrea

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:

HTTP "host" header (2003) [WebDNA] Zpanel & WebDNA (2013) Formating found categories (1997) WebCatalog stalls (1998) WCS Newbie question (1997) searching multiple databases in single search (1997) WebCat 4.5b1 and W* 4.2 ???? (2002) WebCatalog2 for NT Beta Request (1997) PhotoMill -> PhotoMaster (1997) Demo math questions (2000) Multiple catalog databases and showcart (1997) Locking up with WebCatalog... (1997) Extended [ConvertChars] (1997) _ in front of field name (1998) Resume Catalog ? (1997) Using Plug-In while running 1.6.1 (1997) where to put code (1998) MacAuthorize (1999) foriegn characters and webcatalog (1997) WebCat2b12plugin - [search] is broken ... not! (1997)