Hallo Norbert,
nachfolgendes Fragment laeuft in der DOS-Box problemlos, aber wenn ich es im Browser ueber localhost(Apache2,PHP5.1.4) aufrufe, passiert gar nix, d.h. das VB6-Programm wird nicht gestartet.
<?php
ini_set('error_reporting', E_ALL);
$ii = 0;
$eg = array();
$cmmd = 'D:\VB6\Helpers\Bank\getSaldo.exe';
exec($cmmd, $eg, $ii);
print_r($eg);
print_r($ii);
?>
Ich tippe darauf, dass du für den Apache2 eine andere php.ini-Datei hast als für die CGI-Variante (in der Eingabeaufforderung). Eventuell ist in der php.ini für den Apache2 der safe\_mode aktiviert.
Grüße
Marc Reichelt || <http://www.marcreichelt.de/>
--
Linux is like a wigwam - no windows, no gates and an Apache inside!
[Selfcode](http://emmanuel.dammerer.at/selfcode.html): ie:{ fl:| br:> va:} ls:< fo:} rl:( n4:( ss:) de:> js:| ch:? sh:| mo:) zu:)