RE: [PHP] Accessing .bat file from PHP

From: Jeroen Serpieters (jeroen_at_lunitechs.com)
Date: 11/30/03


To: "'Reidar Solberg'" <rei.sol@online.no>, <php-general@lists.php.net>
Date: Sun, 30 Nov 2003 19:13:59 +0100

exec()?

http://php.net/exec

Jeroen

--
Thou shalt not follow the NULL pointer, for chaos and madness await thee at
its end. 
(Henry Spencer) 
Politics.be op imode!
http://i.politics.be/
-----Original Message-----
From: Reidar Solberg [mailto:rei.sol@online.no] 
Sent: Sunday, November 30, 2003 7:10 PM
To: php-general@lists.php.net
Subject: [PHP] Accessing .bat file from PHP
I want to start a .bat file on my local pc from my webpage -  to download
some .txt files. I run PHP in my webpage - how can I make contact with the
.bat file? Anyone tried this?
Reidar Solberg
-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Relevant Pages

  • Re: System call
    ... And it is what OP got - his bat file was executed by CMD and he got the .bat ... But it has nothing to do with PHP itself. ... and security considerations mean this would NOT be possible. ... I'm talking about the system environment. ...
    (comp.lang.php)
  • Re: System call
    ... And it is what OP got - his bat file was executed by CMD and he got the .bat ... But it has nothing to do with PHP itself. ... and security considerations mean this would NOT be possible. ... I'm talking about the system environment. ...
    (comp.lang.php)
  • Re: System call
    ... And it is what OP got - his bat file was executed by CMD and he got the .bat ... But it has nothing to do with PHP itself. ... and security considerations mean this would NOT be possible. ... properly for the Java program? ...
    (comp.lang.php)
  • Re: System call
    ... And it is what OP got - his bat file was executed by CMD and he got the .bat ... But it has nothing to do with PHP itself. ... when I can't "execute" .bat file from PHP. ...
    (comp.lang.php)
  • Re: System call
    ... Read PHP manual about "exec" and other program execution functions. ... either execute the command processor and pass your .bat ... And it is what OP got - his bat file was executed by CMD and he got the .bat ... when I can't "execute" .bat file from PHP. ...
    (comp.lang.php)