Hi Bogdan, On Tue, 2002-05-21 at 16:43, Bogdan Stancescu wrote: > When you access a database you must supply a username and a password. > They differ from server to server. Midgard knows this information for > any server it runs on, because it has to use the database. Also, the > database name differs from server to server and Midgard obviously knows > in which database the record_extension table is located. My question is: > does anybody know where Midgard store this information (username, > password and database) and how can I get to use it? > > Thank you!
Midgard does not make this information available to the php layer. It should not either. It would enable me as a sitegroup user to retrieve the mysql password and then distroy someone elses sitegroup. I'm afraid your best bet is the $object->search_parameters() function. I don't know how hard it is to keep the functionality in future releases, but you might want to submit a 'feature-request' voting to move the function to a more permanent level. I think it is a kind of loop here: The function will not become a 'supported' function until it is actively used, but it will not be used with the 'go away' signs in the manual... wkr, -- Envida http://www.envida.net/ Armand A. Verstappen Graadt van Roggenweg 328 [EMAIL PROTECTED] 3531 AH Utrecht tel: +31 (0)30 298 2255 Postbus 19127 fax: +31 (0)30 298 2111 3501 DC Utrecht --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
