Triggering PHP script from Windows XP machine

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Franz Marksteiner

    #1

    Triggering PHP script from Windows XP machine

    Hi there ;-)

    Is there a way to trigger a remote PHP script from a Windows XP machine
    (with boardutils)?

    --
    Freundliche Grüße,
    Franz Marksteiner

  • Rik Wasmus

    #2
    Re: Triggering PHP script from Windows XP machine

    On Tue, 05 Feb 2008 21:11:46 +0100, Franz Marksteiner
    <franzmarkstein er@gmail.comwro te:
    Chuck Anderson wrote:
    >Franz Marksteiner wrote:
    >>reports.review@ googlemail.com wrote:
    >>>
    >>>On Feb 4, 7:42 pm, "Franz Marksteiner" <franzmarkstei. ..@gmail.com>
    >>>wrote:
    >>>>
    >>>>Hi there ;-)
    >>>>>
    >>>>Is there a way to trigger a remote PHP script from a Windows XP
    >>>>machine (with boardutils)?
    >>>
    >>Boardutils is my expression for "no third party" ;-)
    >>>
    >>
    >Just use curl from the command line.
    >>
    >Get the Win32 version of curl here:
    >http://curl.haxx.se/
    >or
    >http://curl.freemirror.de/
    >>
    >In Windows Task Scheduler: File -New Scheduled Task - Run:
    >"c:/path_to/curl.exe http://......... .php"
    >
    THANK YOU SO MUCH! This is just what I was looking for.
    The URL doesn`t make me feel to confident about safety, but we`ll see ;-)
    Hmm, outside the previously indicated 'boardutils', but offcourse this
    will work a lot easier.
    --
    Rik Wasmus

    Comment

    • Franz Marksteiner

      #3
      Re: Triggering PHP script from Windows XP machine

      Rik Wasmus wrote:
      On Tue, 05 Feb 2008 21:11:46 +0100, Franz Marksteiner
      <franzmarkstein er@gmail.comwro te:
      >Chuck Anderson wrote:
      >>Franz Marksteiner wrote:
      >>>reports.review@ googlemail.com wrote:
      >>>>
      >>>>On Feb 4, 7:42 pm, "Franz Marksteiner"
      >>>><franzmarks tei...@gmail.co mwrote:
      >>>>>
      >>>>>Hi there ;-)
      >>>>>>
      >>>>>Is there a way to trigger a remote PHP script from a Windows XP
      >>>>>machine (with boardutils)?
      >>>>
      >>>Boardutils is my expression for "no third party" ;-)
      >>>>
      >>>
      >>Just use curl from the command line.
      >>>
      >>Get the Win32 version of curl here:
      >>http://curl.haxx.se/
      >>or
      >>http://curl.freemirror.de/
      >>>
      >>In Windows Task Scheduler: File -New Scheduled Task - Run:
      >>"c:/path_to/curl.exe http://......... .php"
      >>
      >THANK YOU SO MUCH! This is just what I was looking for.
      >The URL doesn`t make me feel to confident about safety, but we`ll
      >see ;-)
      >
      Hmm, outside the previously indicated 'boardutils', but offcourse this
      will work a lot easier.
      You`re right. With both points ;-)
      This CMD tool is really great. Copying this to my system directory will
      belong to my OS install routine from now on.

      --
      Freundliche Grüße,
      Franz Marksteiner

      Comment

      • Rob

        #4
        Re: Triggering PHP script from Windows XP machine

        On Feb 5, 8:33 pm, "Franz Marksteiner" <franzmarkstei. ..@gmail.com>
        wrote:
        Rik Wasmus wrote:
        On Tue, 05 Feb 2008 21:11:46 +0100, Franz Marksteiner
        <franzmarkstei. ..@gmail.comwro te:
        Chuck Anderson wrote:
        >Franz Marksteiner wrote:
        >>reports.rev.. .@googlemail.co m wrote:
        >
        >>>On Feb 4, 7:42 pm, "Franz Marksteiner"
        >>><franzmarkst ei...@gmail.com wrote:
        >
        >>>>Hi there ;-)
        >
        >>>>Is there a way to trigger a remote PHP script from a Windows XP
        >>>>machine (with boardutils)?
        >
        >>Boardutils is my expression for "no third party" ;-)
        >
        >Just use curl from the command line.
        >
        >Get the Win32 version of curl here:
        >>http://curl.haxx.se/
        >or
        >>http://curl.freemirror.de/
        >
        >In Windows Task Scheduler: File -New Scheduled Task - Run:
        >"c:/path_to/curl.exe http://......... .php"
        >
        THANK YOU SO MUCH! This is just what I was looking for.
        The URL doesn`t make me feel to confident about safety, but we`ll
        see ;-)
        >
        Hmm, outside the previously indicated 'boardutils', but offcourse this
        will work a lot easier.
        >
        You`re right. With both points ;-)
        This CMD tool is really great. Copying this to my system directory will
        belong to my OS install routine from now on.
        >
        --
        Freundliche Grüße,
        Franz Marksteiner- Hide quoted text -
        >
        - Show quoted text -
        As Rik said, copying PHP.EXE to your windows directory is the same as
        copying CURL.EXE. You don't need a web server or anything else to run
        PHP from the command line or Scheduler.

        It has the advantage of being much more powerful than CURL.

        Rob.

        Comment

        • Franz Marksteiner

          #5
          Re: Triggering PHP script from Windows XP machine

          Rob wrote:
          On Feb 5, 8:33 pm, "Franz Marksteiner" <franzmarkstei. ..@gmail.com>
          wrote:
          >Rik Wasmus wrote:
          >>On Tue, 05 Feb 2008 21:11:46 +0100, Franz Marksteiner
          >><franzmarkste i...@gmail.comw rote:
          >>>Chuck Anderson wrote:
          >>>>Franz Marksteiner wrote:
          >>>>>reports.re v...@googlemail .com wrote:
          >>
          >>>>>>On Feb 4, 7:42 pm, "Franz Marksteiner"
          >>>>>><franzmar kstei...@gmail. comwrote:
          >>
          >>>>>>>Hi there ;-)
          >>
          >>>>>>>Is there a way to trigger a remote PHP script from a Windows XP
          >>>>>>>machin e (with boardutils)?
          >>
          >>>>>Boarduti ls is my expression for "no third party" ;-)
          >>
          >>>>Just use curl from the command line.
          >>
          >>>>Get the Win32 version of curl here:
          >>>>http://curl.haxx.se/
          >>>>or
          >>>>http://curl.freemirror.de/
          >>
          >>>>In Windows Task Scheduler: File -New Scheduled Task - Run:
          >>>>"c:/path_to/curl.exe http://......... .php"
          >>
          >>>THANK YOU SO MUCH! This is just what I was looking for.
          >>>The URL doesn`t make me feel to confident about safety, but we`ll
          >>>see ;-)
          >>
          >>Hmm, outside the previously indicated 'boardutils', but offcourse
          >>this will work a lot easier.
          >>
          >You`re right. With both points ;-)
          >This CMD tool is really great. Copying this to my system directory
          >will belong to my OS install routine from now on.
          >>
          >--
          >Freundliche Grüße,
          >Franz Marksteiner- Hide quoted text -
          >>
          >- Show quoted text -
          >
          As Rik said, copying PHP.EXE to your windows directory is the same as
          copying CURL.EXE. You don't need a web server or anything else to run
          PHP from the command line or Scheduler.
          >
          It has the advantage of being much more powerful than CURL.
          Am I getting this right? I can just copy the php.exe to my systemdir, and
          interprete PHP without installing anything?

          --
          Freundliche Grüße,
          Franz Marksteiner

          Comment

          • Betikci Boris

            #6
            Re: Triggering PHP script from Windows XP machine

            On Feb 6, 12:31 pm, "Franz Marksteiner" <franzmarkstei. ..@gmail.com>
            wrote:
            Rob wrote:
            On Feb 5, 8:33 pm, "Franz Marksteiner" <franzmarkstei. ..@gmail.com>
            wrote:
            Rik Wasmus wrote:
            >On Tue, 05 Feb 2008 21:11:46 +0100, Franz Marksteiner
            ><franzmarkstei ...@gmail.comwr ote:
            >>Chuck Anderson wrote:
            >>>Franz Marksteiner wrote:
            >>>>reports.rev ...@googlemail. com wrote:
            >
            >>>>>On Feb 4, 7:42 pm, "Franz Marksteiner"
            >>>>><franzmark stei...@gmail.c omwrote:
            >
            >>>>>>Hi there ;-)
            >
            >>>>>>Is there a way to trigger a remote PHP script from a Windows XP
            >>>>>>machine (with boardutils)?
            >
            >>>>Boardutil s is my expression for "no third party" ;-)
            >
            >>>Just use curl from the command line.
            >
            >>>Get the Win32 version of curl here:
            >>>>http://curl.haxx.se/
            >>>or
            >>>>http://curl.freemirror.de/
            >
            >>>In Windows Task Scheduler: File -New Scheduled Task - Run:
            >>>"c:/path_to/curl.exe http://......... .php"
            >
            >>THANK YOU SO MUCH! This is just what I was looking for.
            >>The URL doesn`t make me feel to confident about safety, but we`ll
            >>see ;-)
            >
            >Hmm, outside the previously indicated 'boardutils', but offcourse
            >this will work a lot easier.
            >
            You`re right. With both points ;-)
            This CMD tool is really great. Copying this to my system directory
            will belong to my OS install routine from now on.
            >
            --
            Freundliche Grüße,
            Franz Marksteiner- Hide quoted text -
            >
            - Show quoted text -
            >
            As Rik said, copying PHP.EXE to your windows directory is the same as
            copying CURL.EXE. You don't need a web server or anything else to run
            PHP from the command line or Scheduler.
            >
            It has the advantage of being much more powerful than CURL.
            >
            Am I getting this right? I can just copy the php.exe to my systemdir, and
            interprete PHP without installing anything?
            >
            --
            Freundliche Grüße,
            Franz Marksteiner
            You can use it without web interface but only commandline. However you
            can use an embedable web server which does not need installation =>
            shttpd.sourcefo rge.net ;)

            best regards..

            Comment

            • Franz Marksteiner

              #7
              Re: Triggering PHP script from Windows XP machine

              Betikci Boris wrote:
              >>
              >>As Rik said, copying PHP.EXE to your windows directory is the same
              >>as copying CURL.EXE. You don't need a web server or anything else
              >>to run PHP from the command line or Scheduler.
              >>
              >>It has the advantage of being much more powerful than CURL.
              >>
              >Am I getting this right? I can just copy the php.exe to my
              >systemdir, and interprete PHP without installing anything?
              >>
              You can use it without web interface but only commandline. However you
              can use an embedable web server which does not need installation =>
              shttpd.sourcefo rge.net ;)
              >
              Mhm, I gotta try that out. That would be way more powerful than curl.exe
              indeed.
              Thanks for the hints to ya`ll ;-)

              --
              Freundliche Grüße,
              Franz Marksteiner

              Comment

              • Rob

                #8
                Re: Triggering PHP script from Windows XP machine

                On Feb 6, 10:31 am, "Franz Marksteiner" <franzmarkstei. ..@gmail.com>
                wrote:
                Rob wrote:
                On Feb 5, 8:33 pm, "Franz Marksteiner" <franzmarkstei. ..@gmail.com>
                wrote:
                Rik Wasmus wrote:
                >On Tue, 05 Feb 2008 21:11:46 +0100, Franz Marksteiner
                ><franzmarkstei ...@gmail.comwr ote:
                >>Chuck Anderson wrote:
                >>>Franz Marksteiner wrote:
                >>>>reports.rev ...@googlemail. com wrote:
                >
                >>>>>On Feb 4, 7:42 pm, "Franz Marksteiner"
                >>>>><franzmark stei...@gmail.c omwrote:
                >
                >>>>>>Hi there ;-)
                >
                >>>>>>Is there a way to trigger a remote PHP script from a Windows XP
                >>>>>>machine (with boardutils)?
                >
                >>>>Boardutil s is my expression for "no third party" ;-)
                >
                >>>Just use curl from the command line.
                >
                >>>Get the Win32 version of curl here:
                >>>>http://curl.haxx.se/
                >>>or
                >>>>http://curl.freemirror.de/
                >
                >>>In Windows Task Scheduler: File -New Scheduled Task - Run:
                >>>"c:/path_to/curl.exe http://......... .php"
                >
                >>THANK YOU SO MUCH! This is just what I was looking for.
                >>The URL doesn`t make me feel to confident about safety, but we`ll
                >>see ;-)
                >
                >Hmm, outside the previously indicated 'boardutils', but offcourse
                >this will work a lot easier.
                >
                You`re right. With both points ;-)
                This CMD tool is really great. Copying this to my system directory
                will belong to my OS install routine from now on.
                >
                --
                Freundliche Grüße,
                Franz Marksteiner- Hide quoted text -
                >
                - Show quoted text -
                >
                As Rik said, copying PHP.EXE to your windows directory is the same as
                copying CURL.EXE. You don't need a web server or anything else to run
                PHP from the command line or Scheduler.
                >
                It has the advantage of being much more powerful than CURL.
                >
                Am I getting this right? I can just copy the php.exe to my systemdir, and
                interprete PHP without installing anything?
                >
                --
                Freundliche Grüße,
                Franz Marksteiner- Hide quoted text -
                >
                - Show quoted text -
                Yes!!

                Comment

                • Franz Marksteiner

                  #9
                  Re: Triggering PHP script from Windows XP machine

                  Rob wrote:
                  >Am I getting this right? I can just copy the php.exe to my
                  >systemdir, and interprete PHP without installing anything?
                  >
                  Yes!!
                  I gotta correct this a little:
                  PHP is not as comfortable as a common commandlinetool , since I`ve
                  experienced that it still needs lots of libs.
                  So just copying the EXE won`t do.

                  But putting the whole PHP folder under "C:\Program Files" is just as easy.
                  With the only difference that you now have to include the exact path, when
                  calling php.exe from the commandline.

                  But still: This offers way more possibilities to the user, and the power of
                  php.exe overweighs the disadvantage of providing the path to the EXE...

                  --
                  Freundliche Grüße,
                  Franz Marksteiner

                  Comment

                  • Rob

                    #10
                    Re: Triggering PHP script from Windows XP machine

                    On Feb 6, 2:02 pm, "Franz Marksteiner" <franzmarkstei. ..@gmail.com>
                    wrote:
                    Rob wrote:
                    Am I getting this right? I can just copy the php.exe to my
                    systemdir, and interprete PHP without installing anything?
                    >
                    Yes!!
                    >
                    I gotta correct this a little:
                    PHP is not as comfortable as a common commandlinetool , since I`ve
                    experienced that it still needs lots of libs.
                    So just copying the EXE won`t do.
                    >
                    But putting the whole PHP folder under "C:\Program Files" is just as easy.
                    With the only difference that you now have to include the exact path, when
                    calling php.exe from the commandline.
                    >
                    But still: This offers way more possibilities to the user, and the power of
                    php.exe overweighs the disadvantage of providing the path to the EXE...
                    >
                    --
                    Freundliche Grüße,
                    Franz Marksteiner
                    Apologies Frank - you are correct in that if you need to use any of
                    the compiled libraries, e.g. GD, then you would also need the
                    appropriate DLL's, as well as PHP.INI of course

                    Rob.

                    Comment

                    • Franz Marksteiner

                      #11
                      Re: Triggering PHP script from Windows XP machine

                      AnrDaemon wrote:
                      Greetings, Franz Marksteiner.
                      In reply to Your message dated Wednesday, February 6, 2008, 17:02:13,
                      >
                      >>>Am I getting this right? I can just copy the php.exe to my
                      >>>systemdir, and interprete PHP without installing anything?
                      >>>
                      >>Yes!!
                      >
                      >I gotta correct this a little:
                      >PHP is not as comfortable as a common commandlinetool , since I`ve
                      >experienced that it still needs lots of libs.
                      >So just copying the EXE won`t do.
                      >
                      >But putting the whole PHP folder under "C:\Program Files" is just as
                      >easy. With the only difference that you now have to include the
                      >exact path, when calling php.exe from the commandline.
                      >
                      >But still: This offers way more possibilities to the user, and the
                      >power of php.exe overweighs the disadvantage of providing the path
                      >to the EXE...
                      >
                      What the point of providing the full path if You can just run PHP
                      script as is? I'm using attached batch file to properly install PHP
                      after reinstalling Windows.
                      I do not want to install PHP, but can live with the ZIP version.

                      --
                      Freundliche Grüße,
                      Franz Marksteiner

                      Comment

                      • AnrDaemon

                        #12
                        Re: Triggering PHP script from Windows XP machine

                        Greetings, Franz Marksteiner.
                        In reply to Your message dated Monday, February 11, 2008, 17:16:38,
                        >>>>Am I getting this right? I can just copy the php.exe to my
                        >>>>systemdir , and interprete PHP without installing anything?
                        >>>>
                        >>>Yes!!
                        >>
                        >>I gotta correct this a little:
                        >>PHP is not as comfortable as a common commandlinetool , since I`ve
                        >>experienced that it still needs lots of libs.
                        >>So just copying the EXE won`t do.
                        >>
                        >>But putting the whole PHP folder under "C:\Program Files" is just as
                        >>easy. With the only difference that you now have to include the
                        >>exact path, when calling php.exe from the commandline.
                        >>
                        >>But still: This offers way more possibilities to the user, and the
                        >>power of php.exe overweighs the disadvantage of providing the path
                        >>to the EXE...
                        >>
                        >What the point of providing the full path if You can just run PHP
                        >script as is? I'm using attached batch file to properly install PHP
                        >after reinstalling Windows.
                        I do not want to install PHP, but can live with the ZIP version.
                        What You mean by "installing " PHP?
                        For me it is starting that batch file once. "Fire and forget" (c)


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

                        Comment

                        Working...