Community
    • 登入

    How are being auto-runing http://localhost/file/file.php or for localhost:8080/file/file.html ..?

    已排程 已置頂 已鎖定 已移動 Notepad++ & Plugin Development
    7 貼文 2 Posters 9.1k 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • Cem KaderogluC
      Cem Kaderoglu
      最後由 編輯

      How are being auto-runing http://localhost/file/file.php or for localhost:8080/file/file.html …?

      1 條回覆 最後回覆 回覆 引用 0
      • Claudia FrankC
        Claudia Frank
        最後由 編輯

        Hello Cem Kaderoglu,

        what do you mean by “auto-running”?
        A link is not a program or script.
        Do you mean, while editing a php script or html site you
        want to see the changes in a browser synchronously?
        If so you may check out html preview plugin,
        but I’m not sure how well it works with php script.

        If you just want to write php/html and see the result in an installed
        browser you do have the possibility to launch different installed browsers
        via the RUN menu.

        Cheers
        Claudia

        1 條回覆 最後回覆 回覆 引用 0
        • Cem KaderogluC
          Cem Kaderoglu
          最後由 編輯

          Hi Claudia,
          You first want to thank you very much for you help and you responded …

          html css / php working with when npp files such as menu -> run -> Browser and/or localhost / (/file/file/file/file/file.php) option How do I get my work files and the browser opens automatically when the work …!

          Cheers…

          1 條回覆 最後回覆 回覆 引用 0
          • Claudia FrankC
            Claudia Frank
            最後由 Claudia Frank 編輯

            Hello Cem,

            I’m still not 100% sure what you try to achieve.
            I do understand that you are aware of the RUN menu possibilities but
            I do not understand what you mean by

            How do I get my work files and the browser opens automatically when the work …!

            Do you mean you want to start npp, your files and the browser together?
            If so, I would suggest to use the save session functionality of npp.
            When you start npp with parameter -openSession <full_path_of_session_file>
            the files get open as well. When putting Npp and your browser in the startup
            folder of windows both programs will be started after logon automatically.

            Was this helpful?

            Cheers
            Claudia

            1 條回覆 最後回覆 回覆 引用 0
            • Cem KaderogluC
              Cem Kaderoglu
              最後由 編輯

              I want to working editor npp, press button " menu->run->chrome/localhost/… /index.php " , on browser working at index.php , this is practicality…
              thank you for recomented Cloudia
              cheers to you

              1 條回覆 最後回覆 回覆 引用 0
              • Claudia FrankC
                Claudia Frank
                最後由 Claudia Frank 編輯

                Hi Cem,

                I guess I understand now. You want to edit your index.php in npp editor
                and you want to start it with a browser using its url instead of its path. Correct?
                So something like
                GoogleChromePortable.exe http://…/index.php

                If this is the case, then you cannot use RUN menu and Launch …
                Instead use RUN menu RUN (F5 shortcut)

                INSTALLATION_PATH\GoogleChromePortable.exe http://localhost…/$(FILE_NAME)

                $(FILE_NAME) is the current file open.

                Cheers
                Claudia

                1 條回覆 最後回覆 回覆 引用 0
                • Cem KaderogluC
                  Cem Kaderoglu
                  最後由 編輯

                  useless
                  thank you Cloudia
                  i love you…

                  1 條回覆 最後回覆 回覆 引用 0
                  • 第一個貼文
                    最後的貼文
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors