Hi All
I have a page where I trigger a command like xterm.
<?
$cmd="export DISPLAY=$disp ; xterm";
$out=shell_exec($cmd);
?>
In php, can I find out what the hostname is where the browser is running
that requested this page so I can set the DISPLAY variable for that X-Server
?
I don't want to have the user to specifiy this.
Thanks in advance
Heinz