Guys I have two Strings
$first = "/calvin/master/?p=pages&id=3";   //DYNAMIC URL
$second = "http://localhost/calvin/";      //BASE URL USER DECIDED
I want to get full url like this
$target = "http://localhost/calvin/master/?p=pages&id=3";   //FULL URl
How can I do it.. Please note that, the directory calvin can change according to where user decides, he/she can even place script in child directories. eg. instead of calvin can be myweb/scripts/this_script
 
     
     
     
    