Sign up | Forget your password?
English Franšais

Forum > Bugs

ereg/eregi function not supported in PHP 5.3.x

 
Author Topic

Cresswell
ereg/eregi function not supported in PHP 5.3.x
Sat Sep 18, 10 - 23:15

Hi,

 Appears to be a problem with the version of php that was used to code. I am using php v 5.3.0, and I am receiving the following:

Deprecated: Function eregi() is deprecated in "menu.php" on line 79

Deprecated: Function eregi_replace() is deprecated in "templatefonctions.php" on line 67

Deprecated: Function eregi() is deprecated in "index.php" on line 346

Deprecated: Function eregi() is deprecated in "index.php" on line 347

I know it is down to "ereg" family of functions being removed and replaced with "preg".

Please do you have a code fix for the above?

 

Kind Regards Brian





 

ereg/eregi function not supported in PHP 5.3.x
Fri Apr 15, 11 - 12:26

I have the same problems. Did somebody already replaced all the Deprecated functions? Please share if you did.


ereg/eregi function not supported in PHP 5.3.x
Thu Mar 08, 12 - 08:37

no one can help?

 

ró┐ne opakowania kartonoweopakowania tekturowe

ereg/eregi function not supported in PHP 5.3.x
Sun Mar 18, 12 - 21:13

I would like to know also
ereg/eregi function not supported in PHP 5.3.x
Sat Oct 27, 12 - 14:56

Hello,

I have fixed all (or most) deprecated functions and I have my script working perfectly using PHP 5.3. I had to edit several files, so the easiest thing to do would be to upload the entire zipped program back to the community. I have no idea if Jerome has a way for us to do that. So in the meantime, I would be glad to send you the zip file with all fixes.

If after installing my version you still find any deprecated functions, please let me know. It is easy to fix and I wonder why it hasn't been done. It appears that this wonderful script may have been abandoned.

ereg/eregi function not supported in PHP 5.3.x
Sun Oct 28, 12 - 20:48

Hi Rodrigo,

Would you mind sending me the updated zip with all of the fixes? I would really appreciate it.

Please e-mail me: caciavar at gmail.com

 

ereg/eregi function not supported in PHP 5.3.x
Mon Nov 19, 12 - 10:06

Hi Rodrigo,

please send me fixed version ;)

my e-mail  mcenkceylan at gmail.com

Thanks :)

ereg/eregi function not supported in PHP 5.3.x
Fri Nov 30, 12 - 08:14

Hi Rodrigo

 

Great job. I'm interested with it : pa [dot] leboncoin [at] free [dot] fr

Thanks in advance

 

For your information, using Php 5.4 gives error messages :

Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /homepages/46/d145664138/htdocs/_volley/include/sgbd/mysql/mysql_fonctions.php on line 36

Warning: mysql_query(): Aucun fichier ou dossier de ce type in /homepages/46/d145664138/htdocs/_volley/include/sgbd/mysql/mysql_fonctions.php on line 69

Warning: mysql_query(): A link to the server could not be established in /homepages/46/d145664138/htdocs/_volley/include/sgbd/mysql/mysql_fonctions.php on line 69
 

I haven't work on this till now.

ereg/eregi function not supported in PHP 5.3.x
Fri Nov 30, 12 - 12:42

I answer to myself.

 

In fact, the mysql_connect function needed to renew the password for DB's connection after upgrading PHP to 5.4.

ereg/eregi function not supported in PHP 5.3.x
Mon Dec 16, 13 - 14:23

Hi Rodrigo,

please send me error free PHP 5.x.x supported code.

e-mail  imranks at rediffmail.com

Thanks in advance.

Imran

 
1 | 2 | Next | Last page