Result Capture in webpage output
<p>I have a PHP file.</p>

<p>Based on the PHP the server generates a output string for example say</p>

<pre><code>111 success: id:12345678 |value:10000045
</code></pre>

<p>Is it possible to store this output in variable and use it? say</p>

<pre><code>$input = 12345678
</code></pre>

<p>I also do not want to store the entire output generated by the server in $input variable ,i just want to save some part of the output in it.</p>

<p>For example i only want to save only id not value.</p>

<p>How can i do these?</p>
