text file change to php file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ditditsasa
    New Member
    • Mar 2012
    • 17

    text file change to php file

    hi friends,

    i have a configuration file, its values access to several of files. i want to give the values from database into the configuration file. i dont know how to do? pls help me.

    Code:
     
    [TPA]//namespace
    URL = https://demo3.intrix.com/tpawebservice/TPAWebService.asmx?wsdl
    VendorId = INTEVen
    WebUid = INTEWeb
    WebPwd = EVAL12345// these values are get by database
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    you may look into ini files:

    Comment

    • ditditsasa
      New Member
      • Mar 2012
      • 17

      #3
      thanks friend,

      i have a configuration file which values can be given as manual but i want to get the value by database and stored in the configuration file and use for several files

      Comment

      • Dormilich
        Recognized Expert Expert
        • Aug 2008
        • 8694

        #4
        I don’t see a problem there.

        Comment

        Working...