Click to See Complete Forum and Search --> : system variables, or system command


Bart
05-08-2003, 08:57 AM
Hello there,

I'm wondering if it is possible to get system variables from the client machine. A variable like PATH. In cmd one would use:
echo %PATH%

I would like to get some of these variables and form the webpage according to the values of them.

I know that with PHP you can run a system() function [so in this case I could use: system('echo %PATH%');], but PHP will not get the variable from the client side I think.

If you know a way of doing this, please let me know.
If you think it is not possible with Javascript, but with another "script"-languege which I can integrate in HTML, let me know.

Thanks in advance for the information

pyro
05-08-2003, 09:25 AM
No, I don't think this could be done with javascript. You could possibly do it with ActiveX, I don't know...