Cheap way to detect versions such as 3.1.19:
<pre>
list($php_version_major) = explode(".",phpversion());
if($php_version_major < 4) {
echo "Your PHP version, ".phpversion().", is too old to run the UBB Accelerator. Please use the <a href='ubbaccel_test.php'>Accelerator Test</a> for more information.";
exit;
} // end if
</pre>
qasic
[This message was edited by Charles Capps on November 05, 2002 at 10:34 AM.]