RePlayedNL
New Member
Hey guys,
I am trying to do the same thing here but I can't get it working. I downloaded the PHP file and I can run it using XAMPP. The first thing I am struggling with is the path. I put my mission.sqf in the htdocs folder just like the PHP file. When I use UrbanSkaters's code: $fileName = 'c:/xampp/htdocs/missionfile.sqf'; //path to your mission.sqm file it doesn't work. The only way I get past the error RichyM92 has in post #5 is when I use this code: $fileName = 'c:\xampp\htdocs\'; //path to your mission.sqm file without the missionfile.sqf in it and the slashes the other way. But when I use that I get the next error: Parse error: syntax error, unexpected 's' (T_STRING) in C:\xampp\htdocs\dbMissionParser1_1.php on line 23 If i take out that part causing this error in line 23 the next error will show up about some other part in the file that is 'wrong'...
I have no idea what I am doing wrong...
I am trying to do the same thing here but I can't get it working. I downloaded the PHP file and I can run it using XAMPP. The first thing I am struggling with is the path. I put my mission.sqf in the htdocs folder just like the PHP file. When I use UrbanSkaters's code: $fileName = 'c:/xampp/htdocs/missionfile.sqf'; //path to your mission.sqm file it doesn't work. The only way I get past the error RichyM92 has in post #5 is when I use this code: $fileName = 'c:\xampp\htdocs\'; //path to your mission.sqm file without the missionfile.sqf in it and the slashes the other way. But when I use that I get the next error: Parse error: syntax error, unexpected 's' (T_STRING) in C:\xampp\htdocs\dbMissionParser1_1.php on line 23 If i take out that part causing this error in line 23 the next error will show up about some other part in the file that is 'wrong'...
I have no idea what I am doing wrong...