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