🙁...
I did something but just didn't know what todo ahead...
I pasted following in the <head></head> tags
<script language="javascript">
function updateRefPage()
{
//alert("dd");
if(parent.location!="null")
document.getElementById("refURL").value=parent.location;
//alert(document.getElementById("refURL"))
}
//alert(parent.location);
</script>
and following in the body which made it look like
<body onload="updateRefPage();">
Now I like to use "refURL" in php tags but I don't know how would I implement this in php tags...
I will highly appreciate for help..