Jump to content

Connecting my User Database to my C# & C++ Application


charlootus

Recommended Posts

Posted

Hello!

I have seen this done by other people but I just can't seem to figure it out!
So I am currently trying to connect the database of the users on my Forum with a c# and c++ application.

I know you can do this with things like phpMyAdmin and using their database

So I was wondering if you have any available tutorials or source codes that I could look at that would help me connect my forum member database to my C# and C++ Application, C++ Preferred.

Thank you!

And hopefully I can do this as it would be so great!

Posted

If you're just trying to connect to a database, use the appropriate PHP database connection functions. If it's a MySQL database, then you can even use our built in \IPS\Db driver (just pass different connection details to it to create a new instance). If using something like MSSQL you'll have to use the lower level mssql PHP functions.

Posted
7 hours ago, charlootus said:

yah see! I didn't know that

(i bet u use python) eww

 Yup, and C#, PowerShell, PHP, Angular, React, various machine learning tool, and the list goes on. 
 

Stackoverflow would have more information for you on how to connect to a SQL database from C++. 

Posted
16 hours ago, Aiwa said:

 Yup, and C#, PowerShell, PHP, Angular, React, various machine learning tool, and the list goes on. 
 

Stackoverflow would have more information for you on how to connect to a SQL database from C++. 

Yes I know how to connect to a DB but I don't know where to find my DB Info! I'm so lost I've never used IPS before. Could you maybe provide a link of where I can get the info to connect to my DB?

Posted
1 hour ago, charlootus said:

Yes I know how to connect to a DB but I don't know where to find my DB Info! I'm so lost I've never used IPS before. Could you maybe provide a link of where I can get the info to connect to my DB?

In case you didn't save your DB credentials yourself, you can always refer to your config file.  

Posted
5 minutes ago, Joel R said:

In case you didn't save your DB credentials yourself, you can always refer to your config file.  

Maybe it's because I don't selfhost? Is that why I can't find this info? Where would I find the config file?

Posted
26 minutes ago, charlootus said:

Maybe it's because I don't selfhost? Is that why I can't find this info? Where would I find the config file?

You should see a 'conf_global.php' in the root of your IPS installation on your server.  

Posted
1 minute ago, Joel R said:

You should see a 'conf_global.php' in the root of your IPS installation on your server.  

Where do I find this! I used IPS webhosting I dont have any FTP info and I have no idea where to find any of this information

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...