Jump to content

run batch file from php


homer.favenir

Recommended Posts

hi,

anyone knows how can i run a batch file from php and pass a parameter to that batch file.

 

the approach is in the php the user will input the parameter, browse the batch file and submit.

the batch file will open in cmd, with the parameter passes to it from php.

after the batch file close, the php will ask a conditional question...

 

i cant make the exec() or system() working

 

anyone please.

 

thanks

 

 

Link to comment
https://forums.phpfreaks.com/topic/165292-run-batch-file-from-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.