Re: AW: [PHP-WIN] exec dir cmd
| From: | Andrian Pervazov | Date: | Wed, 16 Aug 2000 14:02:19 +0000 |
| Subject: | Re: AW: [PHP-WIN] exec dir cmd | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-1849@lists.php.net to get a copy of this message | ||
It doesn't work for me even with CGI (PHP4.0.1pl2 as CGI on Both NT4
with IIS4 and Win 2000 with IIS5). Go figure :-(
Andrian
Florian Clever wrote:
>
> Thanks. That helps.
>
> So do I understand this correctly, if I assume it is not possible at all to
> invoke a subprocess from PHP4isapi?
>
> Florian
>
> -----Ursprüngliche Nachricht-----
> Von: Mize, Robert [mailto:Robert.Mize@COMPAQ.com]
> Gesendet: Mittwoch, 16. August 2000 15:37
> An: 'Florian Clever'
> Betreff: RE: [PHP-WIN] exec dir cmd
>
> Yes.. You can do this as long as PHP is installed as CGI. I had the same
> problem when using the ISAPI filter.
>
> I am using w2k IIS5 PHP 4pl2.
>
> Hope that helps.
> rob.
>
> -----Original Message-----
> From: Florian Clever [mailto:clever@krz10.ukl.uni-freiburg.de]
> Sent: Wednesday, August 16, 2000 9:15 AM
> To: Andrian Pervazov
> Cc: php-windows@lists.php.net
> Subject: AW: [PHP-WIN] exec dir cmd
>
> Oops. I forgot to mention, that I am using PHP4.
> Sorry.
>
> Florian
>
> -----Ursprüngliche Nachricht-----
> Von: Andrian Pervazov [mailto:apervazov@aspen-marketing.com]
> Gesendet: Mittwoch, 16. August 2000 14:56
> An: Florian Clever
> Betreff: Re: [PHP-WIN] exec dir cmd
>
> It works fine on NT4, IIS4, PHP 3.0.16
>
> Florian Clever wrote:
> >
> > Hi,
> >
> > I am trying to execute a command like:
> > "dir c:\" via the system command and have the results display in the
> > browser.
> > I am running WinNT 4 (SP6a) and IIS4?
> > I always get the message:
> > "Unable to fork [d:\ettu\www\snake\tools\test.bat ]"
> >
> > Did anybody have any success with this yet.
> >
> > Thanks
> >
> > Florian
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-windows-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net