PHP Error
Posted by: TheKillerR (---.rdsnet.ro)
Date: March 29, 2010 01:26AM

Hi

i runned a script that displays the availability of a domain nameand i am getting this error
Deprecated: Function ereg() is deprecated in C:\wamp\www\

i tryed the script at my Linux web host and it works well without that error any ideas how may i fix it?

Options: ReplyQuote
Re: PHP Error
Posted by: TheKillerR (---.rdsnet.ro)
Date: March 29, 2010 02:03AM

Nevermind...
i fixed it by fallowing this thread smiling smiley
[forum.wampserver.com]

Options: ReplyQuote
Re: PHP Error
Posted by: c2dan (---.15-1.cable.virginmedia.com)
Date: March 29, 2010 08:07PM

You should downgrade PHP to 5.2.x OR alter your script so its compatible with PHP5.3. Disabling warning messages does not fix anything.

Options: ReplyQuote
Re: PHP Error
Posted by: TheKillerR (---.rdsnet.ro)
Date: March 29, 2010 08:47PM

erm well shouldnt wamp be updated to the last versions of PHP ,MYSQL,Apache s last versions ?

Options: ReplyQuote
Re: PHP Error
Posted by: c2dan (---.15-1.cable.virginmedia.com)
Date: March 29, 2010 08:57PM

PHP5.3 has dropped support for POSIX based functions -> [php.net].

You should update your code so it uses the PCRE based functions instead -> [php.net]

Options: ReplyQuote


Sorry, only registered users may post in this forum.