[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] PHP3 question



on 2/4/00 10:31 AM, PowerClicks at david@xxxxxxxxxxxxxxx wrote:

> Hello,
> 
> I am running PHP version 3.0.7 (on RAQ2) which we got from the cobalt ftp
> site. Its been performing quite well with the couple of aps we already
> installed.
> 
> Today I installed the very neat whois2.php
> (http://www.easydns.com/~markjr/whois2/) and all queries are working except
> those that require the preg_replace() function (AKA all netsol queries).
> 
> I get an "unsupported or undefined function preg_replace()" message.
> 
> http://www.php.net/ChangeLog.php3 mentions version 3.0.10 "fixed a bug in
> preg_replace() that had to do with "\\" at the end of the replacement
> string"
> 
> Is that bug the possible cause of my trouble ? I would not think the server
> would reply "unsupported or undefined"?
> 
> Any ideas? BTW is it problematic to upgrade to the latest php3 version?

I have found that 3.0.7 lacks a lot of functionality that is in the current
versions.  For example, a lot of the date formatting strings don't work.

Perhaps this is your issue?  Might want to check the changelogs for the
different versions.  It may be in there.

-k