How To include files remotely and access the variables
<p>I have file at some server... file is 
www.iamtushar.com/file/index.php</p>

<pre><code>&lt;?PHP
$var=2;
?&gt;
</code></pre>

<p>Now i want to include this file and use the value of the variable $var on some other server..</p>

<p>Suppose the other script is www.howtodothis.com/index.php and i want to use $var of the above file here....</p>

<pre><code>&lt;?php

include('www.iamtushar.com/file/index.php');
echo $var;

?&gt;
</code></pre>

<p>but it does not work, however it works if the file is on the same server and same browser..</p>

<p>please help...</p>
