dynamic connection string

Stimulsoft Reports.PHP discussion
Post Reply
enigmaticus
Posts: 13
Joined: Tue Mar 26, 2013 12:43 pm

dynamic connection string

Post by enigmaticus »

Hello :D

Is it possible to make a dynamic connection string, so every time when I sell the software to another customer with another database I don't need to change the string manually?
If it is possible could you write me how to make it?
Thank you
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: dynamic connection string

Post by Vladimir »

Hello,

For this you can use the 'sti_get_connection_string' function which is in the 'index.php' file.

Thank you.
Post Reply