title: how to include WordPress wp-config.php to gain access to the MySQL DB info
body: <p>I'm working on a project for users with WP installed domains.</p>
  
  <p>I store data in the same DB that WP uses (just in different tables).</p>
  
  <p>I cant use the include function to fetch the file and simply use the info from there because, according to a user from <code>http://wordpress.stackexchange.com</code>, the <code>wp-config.php</code> should never be included in a file after posting a question regarding issues I was encountering (only <strong>sometimes</strong>) when doing so (<a href="https://wordpress.stackexchange.com/questions/40140/being-redirected-to-install-php-wordpress-is-already-installed-when-includin">The Issues that encounter when including the file</a>).</p>
  
  <p>Now, I already have one option (because inculding the wp-config.php issues <em>ONLY</em> encounter <strong>sometimes</strong>):</p>
  
  <p>The application I'm working on requires an installation to run (by the user). So, during that installation, I could just simply include the <code>wp-config.php</code> file <strong>ONCE</strong>, copy the info I need, and place it into my own file, and just use that for the rest of the application.</p>
  
  <p>The issue with the solution above is, what if i encounter the issues during the installation? The user would have to try again and again until it works. = un-happy user.</p>
  
  <p>Any ideas on alternatives I could use to acomplish this?</p>