[WebDNA] Donation... reading the header /url
This WebDNA talk-list message is from 2017
It keeps the original formatting.
numero = 113709
interpreted = N
texte = 1304--94eb2c1f3dc0108248055d6aef7bContent-Type: text/plain; charset="UTF-8"I INCLUDE run/point many domain names at the same site/page creatingdynamic content by reading the [Domain] and sub-host (example:www.Buffalo.NY.example.com or Mobile.example.com) . It also allows me todynamically fill in the url on-the-fly.my site examples: http://scottsclassifieds.com, craigsfreeclassifieds.comIt also help me write cleaner log files as without this you would have ahard time specifying a domain name.... it can easily be shortened if youhave no use for reading sub-host or never use that many DOTS in your domain.-----------------------------------[listmimeheaders name=host&exact=F][text]host=[value][/text][/listmimeheaders][listmimeheaders name=Accept-Language&exact=F][text]lingo=[getcharsstart=1&end=2][value][/getchars][/text][/listmimeheaders][Showif [lingo]=][text]lingo=en[/text][/Showif][Showif [lingo]=[raw][lingo][/raw]][text]lingo=en[/text][/Showif][text]METHOD=[httpmethod][/text][text]PATH=[thisurl][/text][text]WWW=[HOST][thisurl][/text][text]STR=[host][/text][text]END=[countchars][host][/countchars][/text][text]PATHEND=[countchars][PATH][/countchars][/text][text]FS1=[FindString source=[getcharsstart=1&end=[PATHEND]][PATH][/getchars]&find=/][/text][text]FS2=[FindString source=[getcharsstart=[math][FS1]+1[/math]&end=[PATHEND]][PATH][/getchars]&find=/][/text][text]FS3=[FindString source=[getcharsstart=[math][FS1]+[FS2]+1[/math]&end=[PATHEND]][PATH][/getchars]&find=/][/text][text]FS4=[FindString source=[getcharsstart=[math][FS1]+[FS2]+[FS3]+1[/math]&end=[PATHEND]][PATH][/getchars]&find=/][/text][text]FS5=[FindString source=[getcharsstart=[math][FS1]+[FS2]+[FS3]+[FS4]+1[/math]&end=[PATHEND]][PATH][/getchars]&find=/][/text][text]FS6=[FindString source=[getcharsstart=[math][FS1]+[FS2]+[FS3]+[FS4]+[FS5]+1[/math]&end=[PATHEND]][PATH][/getchars]&find=/][/text][text]FS7=[FindString source=[getcharsstart=[math][FS1]+[FS2]+[FS3]+[FS4]+[FS5]+[FS6]+1[/math]&end=[PATHEND]][PATH][/getchars]&find=/][/text][text]IDXstart=[math][FS1]+[FS2]+[FS3]+[FS4]+[FS5]+[FS6]+[FS7]+1[/math][/text][text]PATHSTR=[getcharsstart=1&end=[math][IDXstart]-1[/math]][PATH][/getchars][/text][text]INDEX=[getcharsstart=[IDXstart]&end=[PATHEND]][PATH][/getchars][/text][text]Dot1=[FindString source=[getcharsstart=1&end=[END]][STR][/getchars]&find=.][/text][text]Dot2=[FindString source=[getcharsstart=[math][Dot1]+1[/math]&end=[END]][STR][/getchars]&find=.][/text][text]Dot3=[FindString source=[getcharsstart=[math][Dot1]+[Dot2]+1[/math]&end=[END]][STR][/getchars]&find=.][/text][text]Dot4=[FindString source=[getcharsstart=[math][Dot1]+[Dot2]+[Dot3]+1[/math]&end=[END]][STR][/getchars]&find=.][/text][text]Dot5=[FindString source=[getcharsstart=[math][Dot1]+[Dot2]+[Dot3]+[Dot4]+1[/math]&end=[END]][STR][/getchars]&find=.][/text][text]Dot6=[FindString source=[getcharsstart=[math][Dot1]+[Dot2]+[Dot3]+[Dot4]+[Dot5]+1[/math]&end=[END]][STR][/getchars]&find=.][/text][Showif [Dot1]>0][Showif [Dot2]=0][text]DOTS=1[/text][/Showif][/Showif][Showif [Dot1]>0][Showif [Dot2]>0][Showif[Dot3]=0][text]DOTS=2[/text][/Showif][/Showif][/Showif][Showif [Dot1]>0][Showif [Dot2]>0][Showif [Dot3]>0][Showif[Dot4]=0][text]DOTS=3[/text][/Showif][/Showif][/Showif][/Showif][Showif [Dot1]>0][Showif [Dot2]>0][Showif [Dot3]>0][Showif [Dot4]>0][Showif[Dot5]=0][text]DOTS=4[/text][/Showif][/Showif][/Showif][/Showif][/Showif][Showif [Dot1]>0][Showif [Dot2]>0][Showif [Dot3]>0][Showif [Dot4]>0][Showif[Dot5]>0][Showif[Dot6]=0][text]DOTS=5[/text][/Showif][/Showif][/Showif][/Showif][/Showif][/Showif][Showif [Dot1]>0][Showif [Dot2]>0][Showif [Dot3]>0][Showif [Dot4]>0][Showif[Dot5]>0][Showif[Dot6]>0][text]DOTS=6[/text][/Showif][/Showif][/Showif][/Showif][/Showif][/Showif][Showif [DOTS]=1][text]TLD=[getcharsstart=[math][Dot1]+1[/math]&end=[END]][STR][/getchars][/text][text]HOST2=[getcharsstart=1&end=[MATH][END]-[countchars][TLD][/countchars]-1[/MATH]][STR][/getchars][/text][/Showif][Showif [DOTS]=2][text]TLD=[getcharsstart=[math][Dot1]+[Dot2]+1[/math]&end=[END]][STR][/getchars][/text][text]HOST2=[getcharsstart=[MATH][Dot1]+1[/MATH]&end=[MATH][Dot1]+[Dot2]-1[/MATH]][STR][/getchars][/text][/Showif][Showif [DOTS]=3][text]TLD=[getcharsstart=[math][Dot1]+[Dot2]+[Dot3]+1[/math]&end=[END]][STR][/getchars][/text][text]HOST2=[getcharsstart=[MATH][Dot1]+[Dot2]+1[/MATH]&end=[MATH][END]-[countchars][TLD][/countchars]-1[/MATH]][STR][/getchars][/text][/Showif][Showif [DOTS]=4][text]TLD=[getcharsstart=[math][Dot1]+[Dot2]+[Dot3]+[Dot4]+1[/math]&end=[END]][STR][/getchars][/text][text]HOST2=[getcharsstart=[MATH][Dot1]+[Dot2]+[Dot3]+1[/MATH]&end=[MATH][END]-[countchars][TLD][/countchars]-1[/MATH]][STR][/getchars][/text][text]Sub4=[getcharsstart=1&end=[math][Dot1]-1[/math]][STR][/getchars][/text][/Showif][Showif [DOTS]=5][text]TLD=[getcharsstart=[math][Dot1]+[Dot2]+[Dot3]+[Dot4]+[Dot5]+1[/math]&end=[END]][STR][/getchars][/text][text]HOST2=[getcharsstart=[MATH][Dot1]+[Dot2]+[Dot3]+[Dot4]+1[/MATH]&end=[MATH][END]-[countchars][TLD][/countchars]-1[/MATH]][STR][/getchars][/text][/Showif][Showif [DOTS]=1][text]SubHost1=[/text][text]SubHost2=[/text][/Showif][Showif [DOTS]=2][text]SubHost1=[getcharsstart=1&end=[MATH][Dot1]-1[/MATH]][STR][/getchars][/text][text]SubHost2=[/text][/Showif][Showif [DOTS]=3][text]SubHost1=[getcharsstart=[MATH][Dot1]+1[/MATH]&end=[MATH][Dot1]+[Dot2]-1[/MATH]][STR][/getchars][/text][text]SubHost2=[getcharsstart=1&end=[MATH][Dot1]-1[/MATH]][STR][/getchars][/text][/Showif][Showif [DOTS]=4][text]SubHost1=[getcharsstart=[MATH][Dot1]+[Dot2]+1[/MATH]&end=[MATH][Dot1]+[Dot2]+[Dot3]-1[/MATH]][STR][/getchars][/text][text]SubHost2=[getcharsstart=1&end=[MATH][Dot1]+[Dot2]-1[/MATH]][STR][/getchars][/text][/Showif][Showif [DOTS]=5][text]SubHost1=[getcharsstart=[MATH][Dot1]+[Dot2]+[Dot3]+1[/MATH]&end=[MATH][Dot1]+[Dot2]+[Dot3]+[Dot4]-1[/MATH]][STR][/getchars][/text][text]SubHost2=[getcharsstart=1&end=[MATH][Dot1]+[Dot2]+[Dot3]-1[/MATH]][STR][/getchars][/text][/Showif][!]Optional- useful if you have a domain database with extra featuresper/domain[text]Domain=[HOST2].[TLD][/text][text]SSL_AVAIL=N[/text][SearchDB=../0.0.0.0.0.0.0.0.00.Domains.db&eqDomainNamedatarq=[Domain]&max=1][founditems][text]SSL_Avail=[Secure][/text][/founditems][/Search][/!]------------------------------94eb2c1f3dc0108248055d6aef7bContent-Type: text/html; charset="UTF-8"Content-Transfer-Encoding: quoted-printable
I INCLUDE run/point many domain names at the same site/pag=e creating dynamic content by reading the [Domain] and sub-host (example: <=a href=3D"http://www.Buffalo.NY.example.com">www.Buffalo.NY.example.com= or
Mobile.example.com) . It also= allows me to dynamically fill in the url on-the-fly.
my site examples:=
http://scottsclassifieds.com,==C2=A0
craigsfreeclassifieds.co=m It also help me write cleaner log files as without this you would hav=e a hard time specifying a domain name.... it can easily be shortened if yo=u have no use for reading sub-host or never use that many DOTS in your doma=in.
------------------------=-----------
[listmimeheaders name=3Dhost&exact=3DF]
[text]host=3D[value][/text][/listmimeheaders]
[listmimeheaders name=3DAccept-Language&exact=3DF][text]li=ngo=3D[getchars start=3D1&end=3D2][value][/getchars][/text][/listmimehe=aders]
[Showif [lingo]=3D]
[text]lingo=3Den[/text]
[/Showif]
[Showif [lingo]=3D[raw][lingo][/raw]]
[=text]lingo=3Den[/text]
[/Showif]
[text]M=ETHOD=3D[httpmethod][/text]
[text]PATH=3D[thisurl]=[/text]
[text]WWW=3D[HOST][thisurl][/text]
[text]STR=3D[host][/text]
[text]END=3D[countcha=rs][host][/countchars][/text]
[text]PATHEND=3D[cou=ntchars][PATH][/countchars][/text]
[text]FS1=3D[Fi=ndString source=3D[getchars start=3D1&end=3D[PATHEND]][PATH][/getchars]=&find=3D/][/text]
[text]FS2=3D[FindString source=3D[getchars =start=3D[math][FS1]+1[/math]&end=3D[PATHEND]][PATH][/getchars]&find==3D/][/text]
[text]FS3=3D[FindString source=3D[getchars start=3D[=math][FS1]+[FS2]+1[/math]&end=3D[PATHEND]][PATH][/getchars]&find=3D=/][/text]
[text]FS4=3D[FindString source=3D[getchars start=3D[mat=h][FS1]+[FS2]+[FS3]+1[/math]&end=3D[PATHEND]][PATH][/getchars]&find==3D/][/text]
[text]FS5=3D[FindString source=3D[getchars start=3D[=math][FS1]+[FS2]+[FS3]+[FS4]+1[/math]&end=3D[PATHEND]][PATH][/getchars]=&find=3D/][/text]
[text]FS6=3D[FindString source=3D[getchars =start=3D[math][FS1]+[FS2]+[FS3]+[FS4]+[FS5]+1[/math]&end=3D[PATHEND]][P=ATH][/getchars]&find=3D/][/text]
[text]FS7=3D[FindString sour=ce=3D[getchars start=3D[math][FS1]+[FS2]+[FS3]+[FS4]+[FS5]+[FS6]+1[/math]&a=mp;end=3D[PATHEND]][PATH][/getchars]&find=3D/][/text]
[text]IDXstart=3D[math][FS1]+[FS2]+[FS3]+[FS4]+[FS5]+[FS6]+[FS7]+1[=/math][/text]
[text]PATHSTR=3D[getchars start=3D1&=amp;end=3D[math][IDXstart]-1[/math]][PATH][/getchars][/text]
=
[text]INDEX=3D[getchars start=3D[IDXstart]&end=3D[PATHEND]][=PATH][/getchars][/text]
[text]Dot1=3D[FindString s=ource=3D[getchars start=3D1&end=3D[END]][STR][/getchars]&find=3D.][=/text]
[text]Dot2=3D[FindString source=3D[getchars start=3D[math]=[Dot1]+1[/math]&end=3D[END]][STR][/getchars]&find=3D.][/text]
=
[text]Dot3=3D[FindString source=3D[getchars start=3D[math][Dot1]+[Dot2=]+1[/math]&end=3D[END]][STR][/getchars]&find=3D.][/text]
=[text]Dot4=3D[FindString source=3D[getchars start=3D[math][Dot1]+[Dot2]+[Do=t3]+1[/math]&end=3D[END]][STR][/getchars]&find=3D.][/text]
[text]Dot5=3D[FindString source=3D[getchars start=3D[math][Dot1]+[Dot2]+[=Dot3]+[Dot4]+1[/math]&end=3D[END]][STR][/getchars]&find=3D.][/text]=[text]Dot6=3D[FindString source=3D[getchars start=3D[math][Dot1]=+[Dot2]+[Dot3]+[Dot4]+[Dot5]+1[/math]&end=3D[END]][STR][/getchars]&=find=3D.][/text]
[Showif [Dot1]>0][Showif [Dot2=]=3D0][text]DOTS=3D1[/text][/Showif][/Showif]
[Sho=wif [Dot1]>0][Showif [Dot2]>0][Showif [Dot3]=3D0][text]DOTS=3D2[/text=][/Showif][/Showif][/Showif]
[Showif [Dot1]>0][=Showif [Dot2]>0][Showif [Dot3]>0][Showif [Dot4]=3D0][text]DOTS=3D3[/t=ext][/Showif][/Showif][/Showif][/Showif]
[Showif [=Dot1]>0][Showif [Dot2]>0][Showif [Dot3]>0][Showif [Dot4]>0][Sho=wif [Dot5]=3D0][text]DOTS=3D4[/text][/Showif][/Showif][/Showif][/Showif][/S=howif]
[Showif [Dot1]>0][Showif [Dot2]>0][Sh=owif [Dot3]>0][Showif [Dot4]>0][Showif [Dot5]>0][Showif [Dot6]=3D0=][text]DOTS=3D5[/text][/Showif][/Showif][/Showif][/Showif][/Showif][/Showif=]
[Showif [Dot1]>0][Showif [Dot2]>0][Showif =[Dot3]>0][Showif [Dot4]>0][Showif [Dot5]>0][Showif [Dot6]>0][te=xt]DOTS=3D6[/text][/Showif][/Showif][/Showif][/Showif][/Showif][/Showif]
[Showif [DOTS]=3D1]
[text]TLD=3D[getchars =start=3D[math][Dot1]+1[/math]&end=3D[END]][STR][/getchars][/text]
=
[text]HOST2=3D[getchars start=3D1&end=3D[MATH][END]-[countchars][T=LD][/countchars]-1[/MATH]][STR][/getchars][/text]
[/Showif]
=
[Showif [DOTS]=3D2]
[text]TLD=3D[getchars sta=rt=3D[math][Dot1]+[Dot2]+1[/math]&end=3D[END]][STR][/getchars][/text]=div>
[text]HOST2=3D[getchars start=3D[MATH][Dot1]+1[/MATH]&end=3D[M=ATH][Dot1]+[Dot2]-1[/MATH]][STR][/getchars][/text]
[/Showif]
[Showif [DOTS]=3D3]
[text]TLD=3D[getchars st=art=3D[math][Dot1]+[Dot2]+[Dot3]+1[/math]&end=3D[END]][STR][/getchars][=/text]
[text]HOST2=3D[getchars start=3D[MATH][Dot1]+[Dot2]+1[/MAT=H]&end=3D[MATH][END]-[countchars][TLD][/countchars]-1[/MATH]][STR][/get=chars][/text]
[/Showif]
[Showif [DOTS]==3D4]
[text]TLD=3D[getchars start=3D[math][Dot1]+[Dot2]+[Dot3]+[D=ot4]+1[/math]&end=3D[END]][STR][/getchars][/text]
[text]HOST2==3D[getchars start=3D[MATH][Dot1]+[Dot2]+[Dot3]+1[/MATH]&end=3D[MATH][E=ND]-[countchars][TLD][/countchars]-1[/MATH]][STR][/getchars][/text]
[text]Sub4=3D[getchars start=3D1&end=3D[math][Dot1]-1[/math]][STR][/=getchars][/text][/Showif]
[Showif [DOTS=]=3D5]
[text]TLD=3D[getchars start=3D[math][Dot1]+[Dot2]+[Dot3]+[=Dot4]+[Dot5]+1[/math]&end=3D[END]][STR][/getchars][/text]
[te=xt]HOST2=3D[getchars start=3D[MATH][Dot1]+[Dot2]+[Dot3]+[Dot4]+1[/MATH]&=;end=3D[MATH][END]-[countchars][TLD][/countchars]-1[/MATH]][STR][/getchars]=[/text]
[/Showif]
[Showif= [DOTS]=3D1]
[text]SubHost1=3D[/text]
[text]SubHost2=3D=[/text]
[/Showif]
[Showif [DOTS]=3D2]
[text]SubHost1=3D[getchars start=3D1&end=3D[MATH][Dot1]-1[/MATH=]][STR][/getchars][/text]
[text]SubHost2=3D[/text]
[/Sh=owif]
[Showif [DOTS]=3D3]
[text]SubHost1==3D[getchars start=3D[MATH][Dot1]+1[/MATH]&end=3D[MATH][Dot1]+[Dot2]-1[=/MATH]][STR][/getchars][/text]
[text]SubHost2=3D[getchars start==3D1&end=3D[MATH][Dot1]-1[/MATH]][STR][/getchars][/text]
[/Sh=owif]
[Showif [DOTS]=3D4]
[text]SubHost1==3D[getchars start=3D[MATH][Dot1]+[Dot2]+1[/MATH]&end=3D[MATH][Dot1]+[D=ot2]+[Dot3]-1[/MATH]][STR][/getchars][/text]
[text]SubHost2=3D[ge=tchars start=3D1&end=3D[MATH][Dot1]+[Dot2]-1[/MATH]][STR][/getchars][/t=ext]
[/Showif]
[Showif [DOTS]=3D5]
=
[text]SubHost1=3D[getchars start=3D[MATH][Dot1]+[Dot2]+[Dot3]+1[/MATH]=&end=3D[MATH][Dot1]+[Dot2]+[Dot3]+[Dot4]-1[/MATH]][STR][/getchars][/tex=t]
[text]SubHost2=3D[getchars start=3D1&end=3D[MATH][Dot1]+[D=ot2]+[Dot3]-1[/MATH]][STR][/getchars][/text]
[/Showif]
=
[!]
Optional- useful if you have a domain database= with extra features per/domain
[text]Domain=3D[HO=ST2].[TLD][/text]
[text]SSL_AVAIL=3DN[/text]
[Search DB==3D../0.0.0.0.0.0.0.0.00.Domains.db&eqDomainNamedatarq=3D[Domain]&m=ax=3D1]
[founditems][text]SSL_Avail=3D[Secure][/text][/founditems=]
[/Search]
[/!]
----------------------=------
---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: support@webdna.us--94eb2c1f3dc0108248055d6aef7b--.
Associated Messages, from the most recent to the oldest:
|
- [WebDNA] Donation... reading the header /url (Brian Harrington 2017)
|
1304--94eb2c1f3dc0108248055d6aef7bContent-Type: text/plain; charset="UTF-8"I INCLUDE run/point many domain names at the same site/page creatingdynamic content by reading the [Domain] and sub-host (example:www.Buffalo.NY.example.com or Mobile.example.com) . It also allows me todynamically fill in the url on-the-fly.my site examples: http://scottsclassifieds.com, craigsfreeclassifieds.comIt also help me write cleaner log files as without this you would have ahard time specifying a domain name.... it can easily be shortened if youhave no use for reading sub-host or never use that many DOTS in your domain.-----------------------------------[listmimeheaders name=host&exact=F]
[text]host=[value][/text][/listmimeheaders][listmimeheaders name=Accept-Language&exact=F]
[text]lingo=[getcharsstart=1&end=2][value][/getchars][/text][/listmimeheaders][Showif [lingo]=]
[text]lingo=en[/text][/Showif][Showif [lingo]=
[raw][lingo][/raw]]
[text]lingo=en[/text][/Showif]
[text]METHOD=
[httpmethod][/text]
[text]PATH=
[thisurl][/text]
[text]WWW=[HOST]
[thisurl][/text]
[text]STR=[host][/text]
[text]END=
[countchars][host][/countchars][/text]
[text]PATHEND=
[countchars][PATH][/countchars][/text]
[text]FS1=[FindString source=[getcharsstart=1&end=[PATHEND]][PATH][/getchars]&find=/][/text]
[text]FS2=[FindString source=[getcharsstart=
[math][FS1]+1[/math]&end=[PATHEND]][PATH][/getchars]&find=/][/text]
[text]FS3=[FindString source=[getcharsstart=
[math][FS1]+[FS2]+1[/math]&end=[PATHEND]][PATH][/getchars]&find=/][/text]
[text]FS4=[FindString source=[getcharsstart=
[math][FS1]+[FS2]+[FS3]+1[/math]&end=[PATHEND]][PATH][/getchars]&find=/][/text]
[text]FS5=[FindString source=[getcharsstart=
[math][FS1]+[FS2]+[FS3]+[FS4]+1[/math]&end=[PATHEND]][PATH][/getchars]&find=/][/text]
[text]FS6=[FindString source=[getcharsstart=
[math][FS1]+[FS2]+[FS3]+[FS4]+[FS5]+1[/math]&end=[PATHEND]][PATH][/getchars]&find=/][/text]
[text]FS7=[FindString source=[getcharsstart=
[math][FS1]+[FS2]+[FS3]+[FS4]+[FS5]+[FS6]+1[/math]&end=[PATHEND]][PATH][/getchars]&find=/][/text]
[text]IDXstart=
[math][FS1]+[FS2]+[FS3]+[FS4]+[FS5]+[FS6]+[FS7]+1[/math][/text]
[text]PATHSTR=[getcharsstart=1&end=
[math][IDXstart]-1[/math]][PATH][/getchars][/text]
[text]INDEX=[getcharsstart=[IDXstart]&end=[PATHEND]][PATH][/getchars][/text]
[text]Dot1=[FindString source=[getcharsstart=1&end=[END]][STR][/getchars]&find=.][/text]
[text]Dot2=[FindString source=[getcharsstart=
[math][Dot1]+1[/math]&end=[END]][STR][/getchars]&find=.][/text]
[text]Dot3=[FindString source=[getcharsstart=
[math][Dot1]+[Dot2]+1[/math]&end=[END]][STR][/getchars]&find=.][/text]
[text]Dot4=[FindString source=[getcharsstart=
[math][Dot1]+[Dot2]+[Dot3]+1[/math]&end=[END]][STR][/getchars]&find=.][/text]
[text]Dot5=[FindString source=[getcharsstart=
[math][Dot1]+[Dot2]+[Dot3]+[Dot4]+1[/math]&end=[END]][STR][/getchars]&find=.][/text]
[text]Dot6=[FindString source=[getcharsstart=
[math][Dot1]+[Dot2]+[Dot3]+[Dot4]+[Dot5]+1[/math]&end=[END]][STR][/getchars]&find=.][/text][Showif [Dot1]>0][Showif [Dot2]=0]
[text]DOTS=1[/text][/Showif][/Showif][Showif [Dot1]>0][Showif [Dot2]>0][Showif[Dot3]=0]
[text]DOTS=2[/text][/Showif][/Showif][/Showif][Showif [Dot1]>0][Showif [Dot2]>0][Showif [Dot3]>0][Showif[Dot4]=0]
[text]DOTS=3[/text][/Showif][/Showif][/Showif][/Showif][Showif [Dot1]>0][Showif [Dot2]>0][Showif [Dot3]>0][Showif [Dot4]>0][Showif[Dot5]=0]
[text]DOTS=4[/text][/Showif][/Showif][/Showif][/Showif][/Showif][Showif [Dot1]>0][Showif [Dot2]>0][Showif [Dot3]>0][Showif [Dot4]>0][Showif[Dot5]>0][Showif[Dot6]=0]
[text]DOTS=5[/text][/Showif][/Showif][/Showif][/Showif][/Showif][/Showif][Showif [Dot1]>0][Showif [Dot2]>0][Showif [Dot3]>0][Showif [Dot4]>0][Showif[Dot5]>0][Showif[Dot6]>0]
[text]DOTS=6[/text][/Showif][/Showif][/Showif][/Showif][/Showif][/Showif][Showif [DOTS]=1]
[text]TLD=[getcharsstart=
[math][Dot1]+1[/math]&end=[END]][STR][/getchars][/text]
[text]HOST2=[getcharsstart=1&end=
[math][END]-
[countchars][TLD][/countchars]-1[/MATH]][STR][/getchars][/text][/Showif][Showif [DOTS]=2]
[text]TLD=[getcharsstart=
[math][Dot1]+[Dot2]+1[/math]&end=[END]][STR][/getchars][/text]
[text]HOST2=[getcharsstart=
[math][Dot1]+1[/MATH]&end=
[math][Dot1]+[Dot2]-1[/MATH]][STR][/getchars][/text][/Showif][Showif [DOTS]=3]
[text]TLD=[getcharsstart=
[math][Dot1]+[Dot2]+[Dot3]+1[/math]&end=[END]][STR][/getchars][/text]
[text]HOST2=[getcharsstart=
[math][Dot1]+[Dot2]+1[/MATH]&end=
[math][END]-
[countchars][TLD][/countchars]-1[/MATH]][STR][/getchars][/text][/Showif][Showif [DOTS]=4]
[text]TLD=[getcharsstart=
[math][Dot1]+[Dot2]+[Dot3]+[Dot4]+1[/math]&end=[END]][STR][/getchars][/text]
[text]HOST2=[getcharsstart=
[math][Dot1]+[Dot2]+[Dot3]+1[/MATH]&end=
[math][END]-
[countchars][TLD][/countchars]-1[/MATH]][STR][/getchars][/text]
[text]Sub4=[getcharsstart=1&end=
[math][Dot1]-1[/math]][STR][/getchars][/text][/Showif][Showif [DOTS]=5]
[text]TLD=[getcharsstart=
[math][Dot1]+[Dot2]+[Dot3]+[Dot4]+[Dot5]+1[/math]&end=[END]][STR][/getchars][/text]
[text]HOST2=[getcharsstart=
[math][Dot1]+[Dot2]+[Dot3]+[Dot4]+1[/MATH]&end=
[math][END]-
[countchars][TLD][/countchars]-1[/MATH]][STR][/getchars][/text][/Showif][Showif [DOTS]=1]
[text]SubHost1=[/text]
[text]SubHost2=[/text][/Showif][Showif [DOTS]=2]
[text]SubHost1=[getcharsstart=1&end=
[math][Dot1]-1[/MATH]][STR][/getchars][/text]
[text]SubHost2=[/text][/Showif][Showif [DOTS]=3]
[text]SubHost1=[getcharsstart=
[math][Dot1]+1[/MATH]&end=
[math][Dot1]+[Dot2]-1[/MATH]][STR][/getchars][/text]
[text]SubHost2=[getcharsstart=1&end=
[math][Dot1]-1[/MATH]][STR][/getchars][/text][/Showif][Showif [DOTS]=4]
[text]SubHost1=[getcharsstart=
[math][Dot1]+[Dot2]+1[/MATH]&end=
[math][Dot1]+[Dot2]+[Dot3]-1[/MATH]][STR][/getchars][/text]
[text]SubHost2=[getcharsstart=1&end=
[math][Dot1]+[Dot2]-1[/MATH]][STR][/getchars][/text][/Showif][Showif [DOTS]=5]
[text]SubHost1=[getcharsstart=
[math][Dot1]+[Dot2]+[Dot3]+1[/MATH]&end=
[math][Dot1]+[Dot2]+[Dot3]+[Dot4]-1[/MATH]][STR][/getchars][/text]
[text]SubHost2=[getcharsstart=1&end=
[math][Dot1]+[Dot2]+[Dot3]-1[/MATH]][STR][/getchars][/text][/Showif]
[!]Optional- useful if you have a domain database with extra featuresper/domain
[text]Domain=[HOST2].[TLD][/text]
[text]SSL_AVAIL=N[/text][SearchDB=../0.0.0.0.0.0.0.0.00.Domains.db&eqDomainNamedatarq=[Domain]&max=1]
[founditems][text]SSL_Avail=[Secure][/text][/founditems][/Search][/!]------------------------------94eb2c1f3dc0108248055d6aef7bContent-Type: text/html; charset="UTF-8"Content-Transfer-Encoding: quoted-printable
I INCLUDE run/point many domain names at the same site/pag=e creating dynamic content by reading the [Domain] and sub-host (example: <=a href=3D"http://www.Buffalo.NY.example.com">www.Buffalo.NY.example.com= or
Mobile.example.com) . It also= allows me to dynamically fill in the url on-the-fly.
my site examples:=
http://scottsclassifieds.com,==C2=A0
craigsfreeclassifieds.co=m It also help me write cleaner log files as without this you would hav=e a hard time specifying a domain name.... it can easily be shortened if yo=u have no use for reading sub-host or never use that many DOTS in your doma=in.
------------------------=-----------
[listmimeheaders name=3Dhost&exact=3DF]
[text]host=3D[value][/text][/listmimeheaders]
[listmimeheaders name=3DAccept-Language&exact=3DF][text]li=ngo=3D[getchars start=3D1&end=3D2][value][/getchars][/text][/listmimehe=aders]
[Showif [lingo]=3D]
[/Showif]
[Showif [lingo]=3D
[raw][lingo][/raw]]
[=text]lingo=3Den[/text]
[/Showif]
[text]END=3D[countcha=rs][host][/countchars][/text]
[text]PATHEND=3D[cou=ntchars][PATH][/countchars][/text]
[text]FS1=3D[Fi=ndString source=3D[getchars start=3D1&end=3D[PATHEND]][PATH][/getchars]=&find=3D/][/text]
[text]FS2=3D[FindString source=3D[getchars =start=3D
[math][FS1]+1[/math]&end=3D[PATHEND]][PATH][/getchars]&find==3D/][/text]
[text]FS3=3D[FindString source=3D[getchars start=3D[=math][FS1]+[FS2]+1[/math]&end=3D[PATHEND]][PATH][/getchars]&find=3D=/][/text]
[text]FS4=3D[FindString source=3D[getchars start=3D[mat=h][FS1]+[FS2]+[FS3]+1[/math]&end=3D[PATHEND]][PATH][/getchars]&find==3D/][/text]
[text]FS5=3D[FindString source=3D[getchars start=3D[=math][FS1]+[FS2]+[FS3]+[FS4]+1[/math]&end=3D[PATHEND]][PATH][/getchars]=&find=3D/][/text]
[text]FS6=3D[FindString source=3D[getchars =start=3D
[math][FS1]+[FS2]+[FS3]+[FS4]+[FS5]+1[/math]&end=3D[PATHEND]][P=ATH][/getchars]&find=3D/][/text]
[text]FS7=3D[FindString sour=ce=3D[getchars start=3D
[math][FS1]+[FS2]+[FS3]+[FS4]+[FS5]+[FS6]+1[/math]&a=mp;end=3D[PATHEND]][PATH][/getchars]&find=3D/][/text]
[text]IDXstart=3D
[math][FS1]+[FS2]+[FS3]+[FS4]+[FS5]+[FS6]+[FS7]+1[=/math][/text]
[text]PATHSTR=3D[getchars start=3D1&=amp;end=3D
[math][IDXstart]-1[/math]][PATH][/getchars][/text]
=
[text]INDEX=3D[getchars start=3D[IDXstart]&end=3D[PATHEND]][=PATH][/getchars][/text]
[text]Dot1=3D[FindString s=ource=3D[getchars start=3D1&end=3D[END]][STR][/getchars]&find=3D.][=/text]
[text]Dot2=3D[FindString source=3D[getchars start=3D
[math]=[Dot1]+1[/math]&end=3D[END]][STR][/getchars]&find=3D.][/text]
=
[text]Dot3=3D[FindString source=3D[getchars start=3D
[math][Dot1]+[Dot2=]+1[/math]&end=3D[END]][STR][/getchars]&find=3D.][/text]
=
[text]Dot4=3D[FindString source=3D[getchars start=3D
[math][Dot1]+[Dot2]+[Do=t3]+1[/math]&end=3D[END]][STR][/getchars]&find=3D.][/text]
[text]Dot5=3D[FindString source=3D[getchars start=3D[math][Dot1]+[Dot2]+[=Dot3]+[Dot4]+1[/math]&end=3D[END]][STR][/getchars]&find=3D.][/text]=[text]Dot6=3D[FindString source=3D[getchars start=3D
[math][Dot1]=+[Dot2]+[Dot3]+[Dot4]+[Dot5]+1[/math]&end=3D[END]][STR][/getchars]&=find=3D.][/text]
[Showif [Dot1]>0][Showif [Dot2=]=3D0]
[text]DOTS=3D1[/text][/Showif][/Showif]
[Sho=wif [Dot1]>0][Showif [Dot2]>0][Showif [Dot3]=3D0]
[text]DOTS=3D2[/text=][/Showif][/Showif][/Showif]
[Showif [Dot1]>0][=Showif [Dot2]>0][Showif [Dot3]>0][Showif [Dot4]=3D0]
[text]DOTS=3D3[/t=ext][/Showif][/Showif][/Showif][/Showif]
[Showif [=Dot1]>0][Showif [Dot2]>0][Showif [Dot3]>0][Showif [Dot4]>0][Sho=wif [Dot5]=3D0]
[text]DOTS=3D4[/text][/Showif][/Showif][/Showif][/Showif][/S=howif]
[Showif [Dot1]>0][Showif [Dot2]>0][Sh=owif [Dot3]>0][Showif [Dot4]>0][Showif [Dot5]>0][Showif [Dot6]=3D0=]
[text]DOTS=3D5[/text][/Showif][/Showif][/Showif][/Showif][/Showif][/Showif=]
[Showif [Dot1]>0][Showif [Dot2]>0][Showif =[Dot3]>0][Showif [Dot4]>0][Showif [Dot5]>0][Showif [Dot6]>0][te=xt]DOTS=3D6[/text][/Showif][/Showif][/Showif][/Showif][/Showif][/Showif]
[Showif [DOTS]=3D1]
[text]TLD=3D[getchars =start=3D
[math][Dot1]+1[/math]&end=3D[END]][STR][/getchars][/text]
=
[/Showif]
=
[Showif [DOTS]=3D2]
[text]TLD=3D[getchars sta=rt=3D
[math][Dot1]+[Dot2]+1[/math]&end=3D[END]][STR][/getchars][/text]=div>
[text]HOST2=3D[getchars start=3D
[math][Dot1]+1[/MATH]&end=3D[M=ATH][Dot1]+[Dot2]-1[/MATH]][STR][/getchars][/text]
[/Showif]
[Showif [DOTS]=3D3]
[text]TLD=3D[getchars st=art=3D
[math][Dot1]+[Dot2]+[Dot3]+1[/math]&end=3D[END]][STR][/getchars][=/text]
[/Showif]
[Showif [DOTS]==3D4]
[text]TLD=3D[getchars start=3D
[math][Dot1]+[Dot2]+[Dot3]+[D=ot4]+1[/math]&end=3D[END]][STR][/getchars][/text]
[text]HOST2==3D[getchars start=3D
[math][Dot1]+[Dot2]+[Dot3]+1[/MATH]&end=3D
[math][E=ND]-
[countchars][TLD][/countchars]-1[/MATH]][STR][/getchars][/text]
[text]Sub4=3D[getchars start=3D1&end=3D[math][Dot1]-1[/math]][STR][/=getchars][/text] [/Showif]
[Showif [DOTS=]=3D5]
[text]TLD=3D[getchars start=3D
[math][Dot1]+[Dot2]+[Dot3]+[=Dot4]+[Dot5]+1[/math]&end=3D[END]][STR][/getchars][/text]
[te=xt]HOST2=3D[getchars start=3D
[math][Dot1]+[Dot2]+[Dot3]+[Dot4]+1[/MATH]&=;end=3D
[math][END]-
[countchars][TLD][/countchars]-1[/MATH]][STR][/getchars]=[/text]
[/Showif]
[Showif= [DOTS]=3D1]
[/Showif]
[Showif [DOTS]=3D2]
[text]SubHost1=3D[getchars start=3D1&end=3D
[math][Dot1]-1[/MATH=]][STR][/getchars][/text]
[/Sh=owif]
[Showif [DOTS]=3D3]
[text]SubHost1==3D[getchars start=3D
[math][Dot1]+1[/MATH]&end=3D
[math][Dot1]+[Dot2]-1[=/MATH]][STR][/getchars][/text]
[text]SubHost2=3D[getchars start==3D1&end=3D
[math][Dot1]-1[/MATH]][STR][/getchars][/text]
[/Sh=owif]
[Showif [DOTS]=3D4]
[text]SubHost1==3D[getchars start=3D
[math][Dot1]+[Dot2]+1[/MATH]&end=3D
[math][Dot1]+[D=ot2]+[Dot3]-1[/MATH]][STR][/getchars][/text]
[text]SubHost2=3D[ge=tchars start=3D1&end=3D
[math][Dot1]+[Dot2]-1[/MATH]][STR][/getchars][/t=ext]
[/Showif]
[Showif [DOTS]=3D5]
=
[text]SubHost1=3D[getchars start=3D
[math][Dot1]+[Dot2]+[Dot3]+1[/MATH]=&end=3D
[math][Dot1]+[Dot2]+[Dot3]+[Dot4]-1[/MATH]][STR][/getchars][/tex=t]
[text]SubHost2=3D[getchars start=3D1&end=3D
[math][Dot1]+[D=ot2]+[Dot3]-1[/MATH]][STR][/getchars][/text]
[/Showif]
=
Optional- useful if you have a domain database= with extra features per/domain
[text]Domain=3D[HO=ST2].[TLD][/text]
[Search DB==3D../0.0.0.0.0.0.0.0.00.Domains.db&eqDomainNamedatarq=3D[Domain]&m=ax=3D1]
[/Search]
[/!]
----------------------=------
---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: support@webdna.us--94eb2c1f3dc0108248055d6aef7b--.
Brian Harrington
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:
Error Lob.db records error message not name (1997)
Getting Emailer to send mail (1997)
show all problem (1997)
can WC render sites out? (1997)
WebCat2 - storing unformatted date data? (1997)
[WebDNA] possible bug? (db field named [width]) (2012)
Include Troubles (1998)
NT beta ReadMe missing (b12-b15) (1997)
[WebDNA] Best of breed eCommerce and CMS/Sitebuilder templates (2010)
WCS Newbie question (1997)
Math problems (1998)
Payment Processors (2005)
Include a big block of text (1997)
Timeout question .. (2003)
ListFields and [name] (1997)
SHOWIF [var_with_backslash]^[value] (2002)
database files in secure folder (1997)
Re[2]: 2nd WebCatalog2 Feature Request (1996)
WebCatalog for Postcards ? (1997)
Setting up shop (1997)