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
Return to the default flat view 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:
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?
[Message index]
 
Read Message
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: Fri Nov 22 02:02:42 GMT 2024

Total time taken to generate the page: 0.06800 seconds