How i declare the variable in application.ini zend framework

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • manjava
    New Member
    • Sep 2009
    • 132

    How i declare the variable in application.ini zend framework

    I have this variable
    Code:
    _SERVICE_SECURITY ="http://172.31.11.82:80/IntWS2.0/Security.asmx?wsdl";
    How can i declared in application.ini zend framework


    Thanks in advance
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    like any other ini setting.

    Comment

    • manjava
      New Member
      • Sep 2009
      • 132

      #3
      How can i declared in application.ini i do system.

      _SERVICE_SECURI TY ="http://172.31.11.82:80/IntWS2.0/Security.asmx?w sdl";

      But not's work

      Thanks in advance

      Comment

      • Dormilich
        Recognized Expert Expert
        • Aug 2008
        • 8694

        #4
        how do you know it doesn’t work?

        Comment

        • manjava
          New Member
          • Sep 2009
          • 132

          #5
          because i call this varaibale in my class but get error not found this _SERVICE_SECURI TY ="http://172.31.11.82:80/IntWS2.0/Security.asmx?w sdl";
          i set _SERVICE_SECURI TY ="http://172.31.11.82:80/IntWS2.0/Security.asmx?w sdl"; in application.ini but same one tell me not correct this declaration in application you must use good syntaxe for application .ini such as System. somthing

          Comment

          • Dormilich
            Recognized Expert Expert
            • Aug 2008
            • 8694

            #6
            because i call this varaibale in my class but get error
            maybe you’re calling it wrong?

            Comment

            • manjava
              New Member
              • Sep 2009
              • 132

              #7
              so how can i write on application.ini thanks

              Comment

              • Dormilich
                Recognized Expert Expert
                • Aug 2008
                • 8694

                #8
                even if you write it correct, if you call it wrong it will never work.

                Comment

                • manjava
                  New Member
                  • Sep 2009
                  • 132

                  #9
                  so how can i declared this on application .ini

                  Comment

                  • Dormilich
                    Recognized Expert Expert
                    • Aug 2008
                    • 8694

                    #10
                    Code:
                    _SERVICE_SECURITY = "http://172.31.11.82:80/IntWS2.0/Security.asmx?wsdl"
                    if that doesn’t work then the problem is somewhere else.

                    Comment

                    • manjava
                      New Member
                      • Sep 2009
                      • 132

                      #11
                      in application .ini not correct this declaration

                      _SERVICE_SECURI TY = "http://172.31.11.82:80/IntWS2.0/Security.asmx?w sdl"
                      i must use System.name_var iable.samthing= "http://172.31.11.82:80/IntWS2.0/Security.asmx?w sdl"
                      if that doesn't work

                      Comment

                      • Dormilich
                        Recognized Expert Expert
                        • Aug 2008
                        • 8694

                        #12
                        syntactically that’s the same.

                        Comment

                        • manjava
                          New Member
                          • Sep 2009
                          • 132

                          #13
                          so i don't found any solution how can i declared varaible in application .ini

                          Comment

                          • Dormilich
                            Recognized Expert Expert
                            • Aug 2008
                            • 8694

                            #14
                            How do you try to get that value in your class?

                            Comment

                            • manjava
                              New Member
                              • Sep 2009
                              • 132

                              #15
                              __SERVICE_SECUR ITY i called in my class the same __SERVICE_SECUR ITY

                              Comment

                              Working...