• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Building the WebGUI

Scheduled Pinned Locked Moved webGUI
7 Posts 6 Posters 4.6k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    alexus
    last edited by Feb 1, 2006, 8:17 PM

    hey, I just was wondering how to write my own webgui, so if you have some time can you give me like advice or sapmle code?

    I know that we can send the console commands with PHP that is easy…. aslo we can save the setings in XML file (dont know how though) and the hardest part for me is to get the responses of the command line?

    Thanks!

    1 Reply Last reply Reply Quote 0
    • J
      jeroen234
      last edited by Feb 1, 2006, 10:24 PM

      simple way to get them is to divert the output of the command line to a file and then read that file

      exec("ifconfig > output.txt");

      1 Reply Last reply Reply Quote 0
      • S
        sullrich
        last edited by Feb 1, 2006, 11:19 PM

        Please dont take this the wrong way but don't you have all the sample code you need between pfSense and m0n0wall alone?!

        1 Reply Last reply Reply Quote 0
        • A
          alexus
          last edited by Feb 2, 2006, 2:56 PM

          well i can view the source code, but that is complete and working product, I willl spend yeras to find out how it works… So, i would apreciate if you could show me something like how to det up and IP or something like that?

          1 Reply Last reply Reply Quote 0
          • B
            billm
            last edited by Feb 3, 2006, 6:13 AM

            @alexus:

            well i can view the source code, but that is complete and working product, I willl spend yeras to find out how it works… So, i would apreciate if you could show me something like how to det up and IP or something like that?

            Uhhh, figure out how to do it from the shell first.  There's plenty of places online (like ohhh, the MAN page) that you can get this information.

            –Bill

            pfSense core developer
            blog - http://www.ucsecurity.com/
            twitter - billmarquette

            1 Reply Last reply Reply Quote 0
            • F
              fernandotcl
              last edited by Mar 7, 2006, 7:17 PM

              Actually, it's fsckign easy, just look at the existing source.

              1 Reply Last reply Reply Quote 0
              • G
                g0dsp33d
                last edited by Apr 4, 2006, 3:04 AM

                /www

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                  [[user:consent.lead]]
                  [[user:consent.not_received]]