calling the VNCViewer console inside the frame
Posted: Thu May 14, 2009 12:30 am
Hello all,
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:
Line number On/Off | Expand/Contract
Observation:
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
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:
Line number On/Off | Expand/Contract
Code: Select all
1.
2. <? include("tabs.php");
3.
4. $tabs->start("Summary");
5. echo "Under construction.<br/>";
6. $tabs->end();
7.
8. $tabs->start("Console");
9. [b]system("vncviewer <machine ipaddress>::5901")[/b]
10. $tabs->end();
11.
12. $tabs->run();
13. ?>
14.
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