Support » Fixing WordPress » Info about some code to access the DATABASE

  • Resolved _OMEGA_

    (@_omega_)


    Hi all I have a little question.
    In a plugin code I saw this:

    global $wpdb;
    $wpdb = new wpdb(DB_USERNAME, DB_PASSWORD, DB_TABLE, LOCALHOST);

    Is it safe to put there these infos?

    Anyone can access to them using a normal browser during the surfing on the website?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Info about some code to access the DATABASE’ is closed to new replies.