Good all the time of day.
There is a site that is entered into the browser line, say, http://microsoft.com/ , then the browser jumps to http://www.microsoft.com/en-us/default.aspx .
How, having a url, to determine which page is thrown by the user when entering on ODA. page?
$url_s;// from here we take url$url_f;// hunt here to put the value of the address after the redirect