Armand A. Verstappen wrote:

>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,
> 
>
Thanks - that makes sense! How do I submit a feature request - I'll 
gladly do that! Well, I should first check if search_parameters() works 
in the first place - never even tested it due to the 'go away' sign in 
the manual... :-)

Bogdan




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to