PHP Script - Get Server Proccessor
<p>I have done a couple hours of research and have found a solution, however I would prefer a solution without using the exec command. </p>

<p>Currently I have this code:</p>

<pre><code>exec ("cat /proc/cpuinfo", $details);
$string= $details[4];
</code></pre>

<p>I basically would like it to pull the first processor's  type, like that code does, but without using the system or exec command. </p>

<p>I would prefer to read directly from /proc/cpuinfo. </p>

<p>Any suggestions?</p>
