dilip_bkumar Posted February 5, 2007 Share Posted February 5, 2007 Hi Everybody.... I am the one new to PHP ... i need to open a terminal window by using a PHP script.. i am using redhat linux.... I know this is very simple.. .. Can someone help me out in this???? Thanks in advance.... Link to comment https://forums.phpfreaks.com/topic/37098-php-script-to-open-a-terminal-in-linux/ Share on other sites More sharing options...
btherl Posted February 5, 2007 Share Posted February 5, 2007 Actually it's not very simple, if you are talking about using php in a web server to open a terminal window. Web servers are designed for requests and responses, but terminals are designed for interactive use. Is that what you want to do? Link to comment https://forums.phpfreaks.com/topic/37098-php-script-to-open-a-terminal-in-linux/#findComment-177252 Share on other sites More sharing options...
phat_hip_prog Posted February 5, 2007 Share Posted February 5, 2007 If say you use a webserver on your own machine to monitor/log local stuff, etc, and as a helper function you wanted to open a new console terminal you could use 'eval' and the 'gnome-terminal' command. Link to comment https://forums.phpfreaks.com/topic/37098-php-script-to-open-a-terminal-in-linux/#findComment-177385 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.