so I have the following script
$execStr = 'cd /D Z:\\folder'
exec($execStr);
$execStr = 'java -jar somejar.jar';
exec($execStr);
the jar does some operations on a mysql database...
but when I run it, it appears that the jar did not run properly because the database was unchanged
but then when I run the exact same strings from the command line it would work properly
what am I doing wrong?