hmmm a quick and dirty method would be ...assuming your VB script can take command line parameters ? to call that script from PHP using exec()
PHP Code:
<?
exec("vbscript.exe arg1 arg2",$yaks);
print_r($yaks);
?>
... OR if you mean a vbscript as in a webpage ? -
PHP Code:
<?
$fp = fsockopen ("127.0.0.1", 80, $errno, $errstr, 30);
if (!$fp) {
echo "$errstr ($errno)<br>\n";
} else {
fputs ($fp, "GET /test.php?[b]arg1=this&arg2=that[/b] HTTP/1.0\r\nHost: [url]www.irrelevant.com\r\n\r\n[/url]");
while (!feof($fp)) {
echo fgets ($fp,128);
}
fclose ($fp);
}
?>
you could pass the arguments in the GET request ? , assuming your script just outputs HTML ?