$RESULTFILE = "/home/txi/score/temp_results/" . "results." . "$USERID" . "$TTYCPEID" . "$now.tmp";
$COMMAND = "/home/txi/score/score.sh $FILENAME $RESULTFILE";
$RUNSCORE = exec("$COMMAND");
#!/bin/bash
export $WINEPREFIX=/var/www/.wine
/usr/local/bin/wine /home/txi/score/SCORE.EXE /home/txi/score/3030M.TXT $1 $2 2>/home/txi/score/ERRORS
touch /home/txi/score/WORKED
ASKER
ASKER
#!/bin/bash
c:/windows/system32/cmd.exe C:/websites/TTY-PASS/score/SCORE.EXE C:/websites/TTY-PASS/score/3030M.TXT $1 $2
ASKER
#!/bin/bash
c:/windows/system32/cmd.exe C:/websites/TTY-PASS/score/SCORE.EXE C:/websites/TTY-PASS/score/3030M.TXT $1 $2
If not mistaken, wine is a Windows emulator on LinuxYes, you are mistaken, WINE stands for Wine Is Not an Emulator
ASKER
$COMMAND = "C:/websites/score/score.sh $FILENAME $RESULTFILE";
echo $COMMAND;
$RUNSCORE = exec("$COMMAND");
The sh file looks like this#!/bin/bash
C:/websites/score/SCORE.EXE C:/websites/score/3030M.TXT $1 $2 2>C:/websites/score/ERRORS
This topic area includes legacy versions of Windows prior to Windows 2000: Windows 3/3.1, Windows 95 and Windows 98, plus any other Windows-related versions including Windows Mobile.
TRUSTED BY