Re: [PHP] Accessing .bat file from PHP

From: Nathan Taylor (Lakario_at_msn.com)
Date: 11/30/03


To: <php-general@lists.php.net>, "Reidar Solberg" <rei.sol@online.no>
Date: Sun, 30 Nov 2003 13:22:28 -0500

I believe... that the .bat file MUST be on the server for PHP to execute it.

Nathan
  ----- Original Message -----
  From: Reidar Solberg
  To: php-general@lists.php.net
  Sent: Sunday, November 30, 2003 1:10 PM
  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)