kochv Posted April 6, 2006 Share Posted April 6, 2006 HelloAt 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 Quote Link to comment Share on other sites More sharing options...
shortj75 Posted April 6, 2006 Share Posted April 6, 2006 have you tried the include() function [code] <?include("blabla.vbs");?>[/code]or you may have to echo your script[code]<?echo "your vbscript here";?>[/code] Quote Link to comment Share on other sites More sharing options...
kochv Posted April 10, 2006 Author Share Posted April 10, 2006 hm i tried both but it doesn't work :(if i would do it in asp i wouldn't have this problem, but i like php more and i can't ASP^^ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.