Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[Contribution] MySQLi Extension for OsC 2.X


Parikesit

Recommended Posts

Native MySQL extension is slightly faster than the improved MySQLi extension, but the latest more stable and have more features.

 

This addon simply replicate the default database function, so you don't have to worry that you need to edit many files. The installation process as easy as uploading a file (database_mysqli.php) and edit one line in application.top.php.

 

As a bonus, this addon add new tep_db_multi_query function (see: mysqli.multi-query.php), so now you can make multi query in one call.

 

Sample of using "tep_db_multi_query" can be found in the archive.

 

Download it here: http://addons.oscommerce.com/info/8168

 

Best,

@zaenal

Link to comment
Share on other sites

Maybe, this can be a reason to make the choice:

 

The Plot to Kill PHP MySQL Extension

Author: Manuel Lemos

Posted on: 2011-07-15

Categories: PHP community, PHP opinions

 

"PHP core developers are planning to kill the PHP original MySQL extension."

 

If you are using MySQL in your PHP applications for a long time, this may seriously affect you.

 

Read this article to learn what this means in practice and what you can do about it.

Edited by Parikesit
Link to comment
Share on other sites

  • 2 weeks later...

Hi Parikesit,

 

I found that by changing the last line in admin/includes/configure.php file from: define('STORE_SESSIONS', 'mysql');

 

to: define('STORE_SESSIONS', 'mysqli');

 

then this works. Hope this helps.

 

Regards,

 

Ian

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...