Jump to content

execute a VB script in PHP


kochv

Recommended Posts

Hello

At first excuse me if my english isn't correct because i'm from switzerland ;)

now my problem:

i have an web application where you can control all Services(WMI) from different servers.
now i have a VB-Script which gets Server names from a database and check all Services from the Servers in the DB.
this works all fine but if i want to execute this .vbs-file in the PHP site it doesn't work.
I tried with the command "exec ('blabla.vbs');"
if i execute a .cmd file it works fine but if it's a .vbs-file it doesn't work...

i have set the Apache properties locally to 'allow this server to interact with desktop' but nothing has changed...

i have an apache server(newest xampp version) and all my files are LOCAL in the htdocs.
can someone help my?

greets
Link to comment
https://forums.phpfreaks.com/topic/6716-execute-a-vb-script-in-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.