The PHP Group PHP Logo

Related Topics:

Posted on May 22, 2017

I want to execute java command through php

I want to execute java command for a software which is stored on my web server with the help of command line but this should be executed through php...
I have a code as follows,but its not working ,i need to integrate all exec commands.
$cmd='cd C:Program FilesApache GroupApache2htdocsmainsphinxsphinx4-1.0beta-binsphinx4-1.0betain';

exec('C:WINNTsystem32cmd.exe');
exec($cmd);
exec("java -mx312m -jar wav2text.jar voice_rec.wav>6.txt");

Reply fast>.

1 Related Answer

Anonymous

  • 83 Answers
  • Posted on Aug 22, 2008

SOURCE: PHP Command Line

What I think You Cant Use Php From The Commande Line

Ad

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

400 views

Ask a Question

Usually answered in minutes!

Top The PHP Group Computers & Internet Experts

Rob Hill
Rob Hill

Level 3 Expert

1483 Answers

Nikole Brown
Nikole Brown

Level 2 Expert

124 Answers

Syed Bilal
Syed Bilal

Level 3 Expert

252 Answers

Are you a The PHP Group Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...