FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » How to run a batch file using PHP?
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
How to run a batch file using PHP? [message #179321] Thu, 04 October 2012 04:09
Fastian is currently offline  Fastian
Messages: 20
Registered: June 2012
Karma: 0
Junior Member
I am trying to run a batch file using exec function in PHP. The program statement executes but nothing happen .... neither successfull nor give any error.
The batch file is v.simple with just two commands.This batch file runs fine when I run directly from cmd.
But when I use exec function, I am unable to run this cmd. I am not interested in the output returned by exec( ) function's argument . I am just interested in the complete execution of the batch file.
Can anyone help?
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Why does my PDO query with named parameters return a blank result?
Next Topic: Failure to install pecl package (warning, long)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 21 20:47:53 GMT 2024

Total time taken to generate the page: 0.02713 seconds