Am new to PHP. I have described my problem below in detail.Kindly help me to solve this issue.
Requirement:
When clicking on a Tab,it has to open a VNC console for a linux machine as a tab content.
Command to open a VNC console from PHP which i used:
system("vncviewer <machine ipaddress>::5901")
Sample code:
Code: Select all
<? include("tabs.php");
$tabs->start("Summary");
echo "Under construction.<br/>";
$tabs->end();
$tabs->start("Console");
[b]system("vncviewer <machine ipaddress>::5901")[/b]
$tabs->end();
$tabs->run();
?>
When i try with system("vncviewer <machine ipaddress>::5901") command inside the Tab function in my PHP code. it does not give any visible output in the webpage.
Expected Output:
VNC console has to open as a tab content in when clicking the tab.
Thanking you in Advance.
Regards,
Vish