Brian Harrington - Creating Dynam=ic Content based on your subdomains (up to 4) and/or user/browser language.=<br>
[text]HOSTEND=3D
[countchars][HOST=][/countchars][/text]
[text]Dot1=3D[FindString source=3D[getchars st=art=3D1&end=3D[HOSTEND]][HOST][/getchars]&find=3D.][/text]
[text=]Dot2=3D[FindString source=3D[getchars start=3D
[math][Dot1]+1[/math]&en=d=3D[HOSTEND]][HOST][/getchars]&find=3D.][/text]
[text]Dot3=3D[FindS=tring source=3D[getchars start=3D
[math][Dot1]+[Dot2]+1[/math]&end=3D[HO=STEND]][HOST][/getchars]&find=3D.][/text]
[text]Dot4=3D[FindString s=ource=3D[getchars start=3D
[math][Dot1]+[Dot2]+[Dot3]+1[/math]&end=3D[HO=STEND]][HOST][/getchars]&find=3D.][/text]
[text]Dot5=3D[FindString s=ource=3D[getchars start=3D
[math][Dot1]+[Dot2]+[Dot3]+[Dot4]+1[/math]&en=d=3D[HOSTEND]][HOST][/getchars]&find=3D.][/text]
[text]Dot6=3D[FindS=tring source=3D[getchars start=3D
[math][Dot1]+[Dot2]+[Dot3]+[Dot4]+[Dot5]+1=[/math]&end=3D[HOSTEND]][HOST][/getchars]&find=3D.][/text]
[=Showif [Dot1]>0][Showif [Dot2]=3D0]
[text]DOTS=3D1[/text][/Showif][/Showi=f]
[Showif [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[/text][/Showif=][/Showif][/Showif][/Showif]
[Showif [Dot1]>0][Showif [Dot2]>0][Sh=owif [Dot3]>0][Showif [Dot4]>0][Showif [Dot5]=3D0]
[text]DOTS=3D4[/tex=t][/Showif][/Showif][/Showif][/Showif][/Showif]
[Showif [Dot1]>0][Sho=wif [Dot2]>0][Showif [Dot3]>0][Showif [Dot4]>0][Showif [Dot5]>0=][Showif [Dot6]=3D0]
[text]DOTS=3D5[/text][/Showif][/Showif][/Showif][/Showi=f][/Showif][/Showif]
[text]SubHost1=3D[/text]
[text]SubHost2=3D[/=text]
[text]SubHost3=3D[/text]
[text]SubHost4=3D[/text]
[Showi=f [DOTS]=3D1]
[text]TLD=3D[getchars start=3D
[math][Dot1]+1[/math]&en=d=3D[HOSTEND]][HOST][/getchars][/text]
[text]HOST2=3D[getchars start=3D1=&end=3D
[math][Dot1]-1[/MATH]][HOST][/getchars][/text]
[/Showif]
<=br>[Showif [DOTS]=3D2]
[text]SubHost1=3D[getchars start=3D1&end=3D[m=ath][Dot1]-1[/math]][HOST][/getchars][/text]
[text]HOST2=3D[getchars sta=rt=3D
[math][Dot1]+1[/math]&end=3D
[math][Dot1]+[Dot2]-1[/MATH]][HOST][/g=etchars][/text]
[text]TLD=3D[getchars start=3D
[math][Dot1]+[Dot2]+1[/mat=h]&end=3D[HOSTEND]][HOST][/getchars][/text]
[/Showif]
[Showif= [DOTS]=3D3]
[text]SubHost2=3D[getchars start=3D1&end=3D
[math][Dot1]=-1[/math]][HOST][/getchars][/text]
[text]SubHost1=3D[getchars start=3D[m=ath][Dot1]+1[/math]&end=3D
[math][Dot1]+[Dot2]-1[/math]][HOST][/getchars=][/text]
[text]HOST2=3D[getchars start=3D
[math][Dot1]+[Dot2]+1[/math]&am=p;end=3D
[math][Dot1]+[Dot2]+[Dot3]-1[/MATH]][HOST][/getchars][/text]
[te=xt]TLD=3D[getchars start=3D
[math][Dot1]+[Dot2]+[Dot3]+1[/math]&end=3D&a=mp;end=3D[HOSTEND]][HOST][/getchars][/text]
[/Showif]
[Showif [DO=TS]=3D4]
[text]SubHost3=3D[getchars start=3D1&end=3D
[math][Dot1]-1[/=math]][HOST][/getchars][/text]
[text]SubHost2=3D[getchars start=3D
[math]=[Dot1]+1[/math]&end=3D
[math][Dot1]+[Dot2]-1[/math]][HOST][/getchars][/t=ext]
[text]SubHost1=3D[getchars start=3D
[math][Dot1]+[Dot2]+1[/math]&=;end=3D
[math][Dot1]+[Dot2]+[Dot3]-1[/math]][HOST][/getchars][/text]
[tex=t]HOST2=3D[getchars start=3D
[math][Dot1]+[Dot2]+[Dot3]+1[/math]&end=3D[=MATH][Dot1]+[Dot2]+[Dot3]+[Dot4]-1[/MATH]][HOST][/getchars][/text]
[text=]TLD=3D[getchars start=3D
[math][Dot1]+[Dot2]+[Dot3]+[Dot4]+1[/math]&end==3D&end=3D[HOSTEND]][HOST][/getchars][/text]
[/Showif]
[Showi=f [DOTS]=3D5]
[text]SubHost4=3D[getchars start=3D1&end=3D
[math][Dot1=]-1[/math]][HOST][/getchars][/text]
[text]SubHost3=3D[getchars start=3D[=math][Dot1]+1[/math]&end=3D
[math][Dot1]+[Dot2]-1[/math]][HOST][/getchar=s][/text]
[text]SubHost2=3D[getchars start=3D
[math][Dot1]+[Dot2]+1[/math=]&end=3D
[math][Dot1]+[Dot2]+[Dot3]-1[/math]][HOST][/getchars][/text]
[text]SubHost1=3D[getchars start=3D
[math][Dot1]+[Dot2]+[Dot3]+1[/math]&=;end=3D
[math][Dot1]+[Dot2]+[Dot3]+[Dot4]-1[/math]][HOST][/getchars][/text]<=br>
[text]HOST2=3D[getchars start=3D
[math][Dot1]+[Dot2]+[Dot3]+[Dot4]+1[/mat=h]&end=3D
[math][Dot1]+[Dot2]+[Dot3]+[Dot4]+[Dot5]-1[/MATH]][HOST][/getc=hars][/text]
[text]TLD=3D[getchars start=3D
[math][Dot1]+[Dot2]+[Dot3]+[D=ot4]+[Dot5]+1[/math]&end=3D&end=3D[HOSTEND]][HOST][/getchars][/text=]
[/Showif]
[text]Domain=3D[HOST2].[TLD][/text]
<hr>=
Lingo=3D[Lingo] (2 Letter)<br>
ThisURL=3D
[thisurl] (aka File P=ath)<br>
WWW=3D[WWW]<br>
HOST=3D[HOST]<br>
DOTS==3D[DOTS]<br>
HOST2=3D[HOST2]<br>
TLD=3D[TLD]<br>
SubHost1 =3D[SubHost1]<br>
SubHost2=3D[SubHost2]<br>
Su=bHost3=3D[SubHost3]<br>
SubHost4=3D[SubHost4]<br>
Domain==3D[Domain]
<hr>
-----------------------------------------=---------------
--
Brian Harrington
Auto Glass Xpress
2655 Millersport Hwy. Suite 1063
Get=zville, NY 14068
(716) 861-2029
=