Professional Web Applications Themes

running .exe in PHP, but not as a process - PHP Development

I am using PHP as an ISAPI module, and I have an executable (.exe) file that must be run from PHP, but not as a "background process". For example if I try use exec("notepad.exe "); in my PHP code, "notepad" will be visible only in "Windows Task Manager" as a process. But if I using PHP as CGI module (php.exe) I see "notepad" as a standalone window. My platform Windows 2000, PHP 4.3.3 Thanks. This problem is extremely urgent - any assistance would be very much appreciated....

  1. #1

    Default running .exe in PHP, but not as a process

    I am using PHP as an ISAPI module, and I have an executable (.exe) file that
    must be run from PHP, but not as a "background process". For example if I
    try use exec("notepad.exe "); in my PHP code,

    "notepad" will be visible only in "Windows Task Manager" as a process.

    But if I using PHP as CGI module (php.exe) I see "notepad" as a standalone
    window. My platform Windows 2000, PHP 4.3.3

    Thanks. This problem is extremely urgent - any assistance would be very much
    appreciated.


    Darren Gates Guest

  2. #2

    Default Re: running .exe in PHP, but not as a process


    "Darren Gates" <removethisg8z> schreef in bericht
    news:RVJFb.1654$%G4.1357newssvr25.news.prodigy.co m...

    Don't multipost, but cross-post instead. Thread already started in alt.php


    JW



    Janwillem Borleffs Guest

  3. #3

    Default Re: running .exe in PHP, but not as a process

    hi, sorry... it's such an urgent problem for me, I wanted to ensure maximum
    exposure.

    "Janwillem Borleffs" <jwjwscripts.com> wrote in message
    news:3fe7734b$0$64973$1b62eedfnews.euronet.nl...
    >
    > "Darren Gates" <removethisg8z> schreef in bericht
    > news:RVJFb.1654$%G4.1357newssvr25.news.prodigy.co m...
    >
    > Don't multipost, but cross-post instead. Thread already started in alt.php
    >
    >
    > JW
    >
    >
    >

    Darren Gates Guest

  4. #4

    Default Re: running .exe in PHP, but not as a process


    "Darren Gates" <removethisg8z> schreef in bericht
    news:%BKFb.1670$8a5.769newssvr25.news.prodigy.com ...
    > hi, sorry... it's such an urgent problem for me, I wanted to ensure
    maximum
    > exposure.
    >
    That's where crossposting is for...

    JW



    Janwillem Borleffs Guest

  5. #5

    Default Re: running .exe in PHP, but not as a process


    "Darren Gates" <removethisg8z> wrote in message
    news:RVJFb.1654$%G4.1357newssvr25.news.prodigy.co m...
    > I am using PHP as an ISAPI module, and I have an executable (.exe) file
    that
    > must be run from PHP, but not as a "background process". For example if I
    > try use exec("notepad.exe "); in my PHP code,
    >
    > "notepad" will be visible only in "Windows Task Manager" as a process.
    >
    > But if I using PHP as CGI module (php.exe) I see "notepad" as a standalone
    > window. My platform Windows 2000, PHP 4.3.3
    >
    > Thanks. This problem is extremely urgent - any assistance would be very
    much
    > appreciated.
    >
    >
    I'm assuming you run Apache, but this should also work for other web
    servers.

    If you're running Apache as a Windows 2000 Service using the Local System
    account (default), enable "Allow service to interact with desktop" from the
    "Log On" tab of the properties panel of the Apache service.

    Jeroen.


    Jeroen Smaal Guest

Similar Threads

  1. Process Running Under Wrong Credentials
    By Selden McCabe in forum ASP.NET Web Services
    Replies: 0
    Last Post: September 1st, 11:34 PM
  2. check a running process, impersonate
    By bob Sterrett in forum ASP.NET Security
    Replies: 0
    Last Post: March 6th, 07:13 PM
  3. Two Worker Process running at once
    By Adam in forum ASP.NET General
    Replies: 5
    Last Post: July 29th, 07:00 PM
  4. Replies: 3
    Last Post: July 17th, 10:59 AM
  5. current process running a script
    By Erico Franco in forum Sun Solaris
    Replies: 0
    Last Post: June 27th, 09:16 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139