Integrating the VNCViewer screen with the Frame

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
gavishwa
Forum Newbie
Posts: 2
Joined: Tue May 12, 2009 7:40 am

Integrating the VNCViewer screen with the Frame

Post by gavishwa »

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:

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();
?>
 
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
Last edited by Benjamin on Tue May 12, 2009 11:32 am, edited 1 time in total.
Reason: Added [code=php] tags.
Post Reply