calling php file fron another php file while passing arguments
<p>i need to call a php inside another php file and pass some arguments also. how can i do this??
i tried</p>

<pre><code>include("http://.../myfile.php?file=$name");
</code></pre>

<ul>
<li>but gives access denied. i read like v must not set allow_url_open to OFF.</li>
</ul>

<p>if i write like</p>

<pre><code>$cmd = "/.../myfile.php?file=".$name";
$out =exec($cmd. " 2&gt;&amp;1");
echo $out;
</code></pre>

<ul>
<li>gives error as /.../myfiles.php?file=hello: no such file or directory.</li>
</ul>

<p>how can i solve this???</p>
