php, jquery, load function and page address
<p>i have two files.
In first (parent, address: www.myaddress.com/fun/test.php) is jQuery function:</p>

<pre><code>&lt;script type="text/javascript"&gt;         
$(function(){
    $(document).ready(function()
    {
        import_f = setInterval(function()
        {
            $('#file').load('fun2.php?id='+ Math.random());

        }, 5000);       
    });
});         
&lt;/script&gt;
</code></pre>

<p>When i print in fun2.php file full page address, i get: /fun2.php?id=0.31089064538474454.</p>

<p>How get paren page address. (www.myaddress.com/fun/test.php).</p>

<p>Parent's address may always be another, so I need to find a function that.</p>

<p>Thanks</p>
