05-03-2013, 12:59 AM
Hi guys, tough question here.
I'm wondering(I've never seen it before), if there is a way to print the logfiles of the console to a website in a specific frame. I know how to read a .txt file, and stuff, that works. However I stumble upon 2 problems
1: SRCDS only allows you to write logfiles to the game directory.
2: I don't think I can read a .log file with for example; file_get_contents(in PHP)
I tried linking two files from my /www/ a .txt file to the .log file, that didn't work either.
I am however able to display ping, ip, players etc, any way I can do this for console output?
Is there any other way, or a solution to print the console output to my website?
I'm wondering(I've never seen it before), if there is a way to print the logfiles of the console to a website in a specific frame. I know how to read a .txt file, and stuff, that works. However I stumble upon 2 problems
1: SRCDS only allows you to write logfiles to the game directory.
2: I don't think I can read a .log file with for example; file_get_contents(in PHP)
I tried linking two files from my /www/ a .txt file to the .log file, that didn't work either.
I am however able to display ping, ip, players etc, any way I can do this for console output?
Is there any other way, or a solution to print the console output to my website?