pp wrote:

>>$object->search_parameters() function which is precisely what I'm 
>>looking for, but the remark in the documentation was not such a good 
>>
>AFAIR this function is signed as "no one knows if it works and if it will be in 
>further releases"
>
Precisely!

>>sign... ;-) So, I decided I'd rather search for parameters myself in the 
>>database. And the problem is probably obvious by now: how do I do that 
>>without hardcoding the database, username and password? 
>>
>You just have to connect to mysql database using php-mysql 
>and Your mysql admin login and pass.
>
Yes, I know that - but as I said in the original message, I don't want 
to hardcode the database, username and password in the code - I would 
like to use the same variables as Midgard/Nadmin does in order to make 
the application portable.

>What exactly You want to search for? domain, name, values?
>
I know exactly what I am looking for, and I know how to code it, that's 
not the problem - I just don't know where to get the proper credentials.

If your question was out of curiosity, what I have is articles referring 
to other articles by guid via parameters - and I want to be able to tell 
if a certain article is being referred to by any other article in the 
database.

Thanks!

Bogdan



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

Reply via email to