Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Multiple database usernames possible?!?  (Read 2110 times)

0 Members and 1 Guest are viewing this topic.

jagwriter78

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Multiple database usernames possible?!?
« on: August 02, 2007, 01:30:20 pm »

Hi, I was wondering if it possible to set up the database username as an array so each time the gallery loads, it chooses from a list of usernames to use to connect to the database? My host is limiting hourly connections per username to the database and I am getting critically close to that with my gallery at the moment. I tried to use a simple array function like array("username1", "username2") instead of the actual db username, but coppermine didn't like that. If anyone could tell me a work around, I'd be really greatful.
Logged

Nibbler

  • Guest
Re: Multiple database usernames possible?!?
« Reply #1 on: August 02, 2007, 03:32:43 pm »

Discussed in http://forum.coppermine-gallery.net/index.php?topic=28455.0

Use Stramm's code on the second page.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.