at the moment I'm using:
Code: Select all
print_r("<pre>" . shell_exec(set) . "</pre>");At the moment, I'm only trying to wedge 'SystemRoot' out of there, but to no avail I've triied shell_exec(set=SystemRoot), shell_exec(set['SystemRoot']), and I can't figure out how to access it (whether its an array, an object, super global, yada yada).
Anyone have any ideas?
Thanks in advance guys