Zend 1.10: read custom data from application.ini

hello all,

i would like to put some custome data in application.ini, then read them from zend controller, how do i let it work?

for example, i put

username = root
password = psw

in application.ini, they should be readed when user login.

any suggestion would be appericate.

thanks,

wantime

ps. as i understand so far, it should be possible to wirte them in Registry or Namespace when bootstrap is loaded, then i just need to read them from Registry or Namespace  later.
but i don't know how the codes look like.
wantimeAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
gr8gonzoConnect With a Mentor ConsultantCommented:
0
 
wantimeAuthor Commented:
hi, thanks. but i think zend should has its mechanismen to get information from application.ini, or am i wrong?
0
 
Ray PaseurConnect With a Mentor Commented:
Not sure if this helps, but check this page for the string ".ini"
http://framework.zend.com/manual/en/zend.application.available-resources.html
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.