Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9234245
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T06:44:41+00:00 2026-06-18T06:44:41+00:00

I read here that using the old mysql-functions is not recommended anymore. But is

  • 0

I read here that using the old mysql-functions is not recommended anymore. But is it of any use to make the effort to update the code in an already finshed and running project so only mysqli-functionality is used?

What would be the benefits?
What security issues would be enhanced?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T06:44:43+00:00Added an answer on June 18, 2026 at 6:44 am

    If you have you security all right in the current project, it wouldn’t be enhanced then.
    Though, it is extremely common habit of PHP users to confuse security measures, so, you have to double-check. Say, if you’re using a home-brewed version of magic quotes, by escaping all input parameters – you’re in danger.
    You need to audit the security despite of changing drivers though.
    And you can achieve them without moving to mysqli, though.

    As of benefits – there are none, compared to all the pains of rewriting.

    If you’re still in the mood of rewriting, I have a suggestion:
    Instead of just rewriting from one raw API to another, let me suggest you to adopt some database abstraction library, moving raw API calls from all of your code into one compact place.
    It will not only make your code dramatically shorter, but also will help in the future, when someone will have a whim to deprecate mysqli in turn – you will have to rewrite your class’ methods only, not all the code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've read here that editing a file in-place is not possible since it's OS
I've read a few answers on here that condemn the use of svn:externals. I
I read here about std::auto_ptr<>::operator= Notice however that the left-hand side object is not
We have an old application written using VC++ that uses ODBC driver to read
I've read several questions here that seemed to be related (either directly or indirectly)
Possible Duplicate: Search-like highlighting in NSTextView I thought i read here months ago that
I have an XML file that I'm trying to read from here , and
When I read some of the answers on here I notice that some people
Here is the thread that I read about making a stack of resources from
I read the MSDN documentation and examples here and I know that the correct

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.