Hi everybody, My site URL showing as http://www.sub.mysite.com/onetwothree.htm?get=name
I can access this URL on following ways. $urlfullget = $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]; $urlsub = $_SERVER["HTTP_HOST"] Here, variable $urlfullget will store as = www.sub.mysite.com/onetwothree.htm?get=name and variable $urlsub will store as = www.sub.mysite.com But I want to store these data. 1) www.sub.mysite.com/onetwothree.htm 2) mysite.com (If URL changed, stored data should change accordingly) So, how it can store on $urlfull & $urlmain respectively. Expecting experts' precious support on this matter. With thanks in advance, Rgds, Leelakh Ran.