On 17 Dec 2005, at 20:03, phil wrote:
Is this something we could query with the installer and tell the
user if they don't have it? This function checks the version, but
could be modified and run on install;
if(!extension_loaded('pcre')) { // it's not loaded so try to load it if(!dl('pcre.so')) { // we can't load it die("You need the PCRE extension installed ..."); } }
// here we could use your suggested function to check if the PCRE // ext is recent enough to use.
Yours, Craig -- Craig Webster | t: +44 (0)131 516 8595 | e: craig@xeriom.net Xeriom.NET | f: +44 (0)709 287 1902 | w: http://xeriom.net