How to call PHP script from another PHP script?
<p>I have a PHP script, say <code>a.php</code>, which is called from JS using Ajax (this is a POST request and some data is passed to the script).</p>

<p>I have another PHP script, say <code>b.php</code>, from which I would like to call <code>a.php</code> and pass it some data. I expect <code>a.php</code> to do the job just like if it was called from JS.</p>

<p>I don't want to do <code>include('a.php');</code> because of possible collision between variable names.</p>

<p>How could I do this ?</p>
