Running PHP scripts from browser without a webserver on MS

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • C. (http://symcbean.blogspot.com/)

    Running PHP scripts from browser without a webserver on MS

    Hi all,

    I am looking for a way to run PHP scripts without using a webserver
    (from a MS Windows machine). While there are shareware solutions for
    doing this, it strikse me that it might be possible to use HTA (http://
    https://www.microsoft.com/technet/sc...hubs/htas.mspx) to achieve my
    result, however all the documentation just describes doing this with
    VBScript.

    So far I've not found anything relevant in Google.

    I'd prefer not to have to re-write the code to work with GTK

    Anybody had any experiences in this area they would like to share?
    Links?

    TIA

    C.
  • Captain Paralytic

    #2
    Re: Running PHP scripts from browser without a webserver on MS

    On 17 Apr, 12:41, "C. (http://symcbean.blogsp ot.com/)"
    <colin.mckin... @gmail.comwrote :
    Hi all,
    >
    I am looking for a way to run PHP scripts without using a webserver
    (from a MS Windows machine). While there are shareware solutions for
    doing this, it strikse me that it might be possible to use HTA (http://www.microsoft.com/technet/scr...hubs/htas.mspx) to achieve my
    result, however all the documentation just describes doing this with
    VBScript.
    >
    So far I've not found anything relevant in Google.
    >
    I'd prefer not to have to re-write the code to work with GTK
    >
    Anybody had any experiences in this area they would like to share?
    Links?
    >
    TIA
    >
    C.
    If you want to run php scripts without a webserver, why not just use
    the command line version. What do you need the browser for?

    Comment

    • C. (http://symcbean.blogspot.com/)

      #3
      Re: Running PHP scripts from browser without a webserver on MS

      On 17 Apr, 12:50, Captain Paralytic <paul_laut...@y ahoo.comwrote:
      On 17 Apr, 12:41, "C. (http://symcbean.blogsp ot.com/)"
      >
      <colin.mckin... @gmail.comwrote :
      Hi all,
      >
      I am looking for a way to run PHP scripts without using a webserver
      (from a MS Windows machine). While there are shareware solutions for
      doing this, it strikse me that it might be possible to use HTA (http://www.microsoft.com/technet/scr...hubs/htas.mspx) to achieve my
      result, however all the documentation just describes doing this with
      VBScript.
      >
      So far I've not found anything relevant in Google.
      >
      I'd prefer not to have to re-write the code to work with GTK
      >
      Anybody had any experiences in this area they would like to share?
      Links?
      >
      TIA
      >
      C.
      >
      If you want to run php scripts without a webserver, why not just use
      the command line version. What do you need the browser for?
      Interface sugar really. The target users are not the most
      sophisticated.

      C.

      Comment

      • Captain Paralytic

        #4
        Re: Running PHP scripts from browser without a webserver on MS

        On 17 Apr, 13:34, "C. (http://symcbean.blogsp ot.com/)"
        <colin.mckin... @gmail.comwrote :
        On 17 Apr, 12:50, Captain Paralytic <paul_laut...@y ahoo.comwrote:
        >
        >
        >
        On 17 Apr, 12:41, "C. (http://symcbean.blogsp ot.com/)"
        >
        <colin.mckin... @gmail.comwrote :
        Hi all,
        >
        I am looking for a way to run PHP scripts without using a webserver
        (from a MS Windows machine). While there are shareware solutions for
        doing this, it strikse me that it might be possible to use HTA (http://www.microsoft.com/technet/scr...hubs/htas.mspx) to achieve my
        result, however all the documentation just describes doing this with
        VBScript.
        >
        So far I've not found anything relevant in Google.
        >
        I'd prefer not to have to re-write the code to work with GTK
        >
        Anybody had any experiences in this area they would like to share?
        Links?
        >
        TIA
        >
        C.
        >
        If you want to run php scripts without a webserver, why not just use
        the command line version. What do you need the browser for?
        >
        Interface sugar really. The target users are not the most
        sophisticated.
        >
        C.
        If that's the case, why not install a local web server and then it
        will look just like any other web page.

        Comment

        • Peter H. Coffin

          #5
          Re: Running PHP scripts from browser without a webserver on MS

          On Thu, 17 Apr 2008 05:34:46 -0700 (PDT), C.
          (http://symcbean.blogspot.com/) wrote:
          On 17 Apr, 12:50, Captain Paralytic <paul_laut...@y ahoo.comwrote:
          >
          >On 17 Apr, 12:41, "C. (http://symcbean.blogsp ot.com/)"
          >>
          ><colin.mckin.. .@gmail.comwrot e:
          >>
          Hi all,
          >>
          I am looking for a way to run PHP scripts without using a webserver
          (from a MS Windows machine). While there are shareware solutions
          for doing this, it strikse me that it might be possible to use HTA
          (http://www.microsoft.com/technet/scr...hubs/htas.mspx) to
          achieve my result, however all the documentation just describes
          doing this with VBScript.
          There's probably ways to hook in via C as well, that makes for writing
          your own php extension, which is a non-trivial task to do well.
          So far I've not found anything relevant in Google.
          >>
          I'd prefer not to have to re-write the code to work with GTK
          >>
          Anybody had any experiences in this area they would like to share ?
          Links ?
          >>
          TIA
          >>
          C.
          >>
          >If you want to run php scripts without a webserver, why not just use
          >the command line version. What do you need the browser for?
          >
          Interface sugar really. The target users are not the most
          sophisticated.
          Webserver/browser combination or Gtk or ncurses, etc., *are* your
          interface sugar basically. If you want them, you have to use them or
          write your own. (And if you're thinking about writing your own, think
          really, really hard. It'll be a bigger task that all of the rest of your
          project combined.)

          --
          Graham's First Rule of Internet Retailing:
          If your 'shopping cart' site requires anything more complex than
          HTML, SSL and a session cookie, at least one of your competitors
          will run a site which does not. Your competitor will get the sale.

          Comment

          • =?ISO-8859-1?Q?=22=C1lvaro_G=2E_Vicario=22?=

            #6
            Re: Running PHP scripts from browser without a webserver on MS

            Captain Paralytic escribió:
            >>If you want to run php scripts without a webserver, why not just use
            >>the command line version. What do you need the browser for?
            >Interface sugar really. The target users are not the most
            >sophisticate d.
            If that's the case, why not install a local web server and then it
            will look just like any other web page.
            I've seen several programs that do so, including Google Desktop. It's
            definitively the best solution unless you want to write your own GUI
            using php-gtk [1] or WinBinder [2].

            [1] http://gtk.php.net/
            [2] http://winbinder.org/


            --
            -- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
            -- Mi sitio sobre programación web: http://bits.demogracia.com
            -- Mi web de humor al baño María: http://www.demogracia.com
            --

            Comment

            • Captain Paralytic

              #7
              Re: Running PHP scripts from browser without a webserver on MS

              On 17 Apr, 16:16, "Álvaro G. Vicario"
              <alvaroNOSPAMTH A...@demogracia .comwrote:
              Captain Paralytic escribió:
              >
              >If you want to run php scripts without a webserver, why not just use
              >the command line version. What do you need the browser for?
              Interface sugar really. The target users are not the most
              sophisticated.
              If that's the case, why not install a local web server and then it
              will look just like any other web page.
              >
              I've seen several programs that do so, including Google Desktop. It's
              definitively the best solution unless you want to write your own GUI
              using php-gtk [1] or WinBinder [2].
              I don't want any of this, I was just responding to the OP.

              Comment

              • AnrDaemon

                #8
                Re: Running PHP scripts from browser without a webserver on MS

                Greetings, C. (http://symcbean.blogspot.com/).
                In reply to Your message dated Thursday, April 17, 2008, 16:34:46,
                I am looking for a way to run PHP scripts without using a webserver
                (from a MS Windows machine). While there are shareware solutions for
                doing this, it strikse me that it might be possible to use HTA
                (http://www.microsoft.com/technet/scr...hubs/htas.mspx) to achieve my
                result, however all the documentation just describes doing this with
                VBScript.
                You can install PHP as ActiveScript language (I suppose, that VBscript is not
                only one possible language in there).


                --
                Sincerely Yours, AnrDaemon <anrdaemon@free mail.ru>

                Comment

                • NC

                  #9
                  Re: Running PHP scripts from browser without a webserver on MS

                  On Apr 17, 4:41 am, "C. (http://symcbean.blogsp ot.com/)"
                  <colin.mckin... @gmail.comwrote :
                  >
                  I am looking for a way to run PHP scripts without using a webserver
                  (from a MS Windows machine).
                  Take a look at phpDock:


                  While there are shareware solutions for doing this, it strikse me
                  that it might be possible to use HTA
                  Yes. Look into ActiveScript installation:

                  PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.


                  Cheers,
                  NC

                  Comment

                  Working...