Jump to content

Help with EXEC command, not running file.


thegadgitman

Recommended Posts

I am trying to call up an on screen keyboard with a very simple code on Localhost.

 

However the PC just makes a BONG sound and nothing opens but the file is

shown in the TASK MANAGER as running, but it is not.

 

What am I doing wrong.

 

hvk.exe is the prog I am trying to run and is in Localhost directory.

 

<?php

exec("hvk /SHOWKEYBOARD");

?>

 

 

 

 

Link to comment
Share on other sites

I am trying to call up an on screen keyboard with a very simple code on Localhost.

 

However the PC just makes a BONG sound and nothing opens but the file is

shown in the TASK MANAGER as running, but it is not.

 

What am I doing wrong.

 

hvk.exe is the prog I am trying to run and is in Localhost directory.

 

<?php

exec("hvk /SHOWKEYBOARD");

?>

 

Is safe mode off? Did you place it in the 'safedir' that php requires exe's to be in for them to be run?

Link to comment
Share on other sites

OK have checked safe mode etc in PHP.ini    Safemode is off and files in correct directory.

 

This does not work. PC goes BONG and file opens in file Manager, but does not run.

 

<?php

exec("hvk.exe");  //Call on screen keyboard

?>

 

This code works fine, windows keyboard opens, WHY ????  I need to use the keyboard above.

 

<?php

exec("osk.exe"); //Call windows on Screen keyboard

?>

 

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.