Jump to content

Running an application on the server


wisewood

Recommended Posts

Found a fix for this, perhaps there are better methods, but this one works.

Firstly, create a shortcut to the application you want to run, and put this shortcut in the windows directory on your webserver... then you just need to run this code in your script to execute the application you want.

[code]
<?
$WshShell = new COM("WScript.Shell");
$oExec = $WshShell->Run("your_shortcut.lnk", 3, false);
?>
[/code]

Works well with the local intranet setup we have here, so it'll do for me.

Anyone with a better approach to this, feel free to speak up.

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.