Re: Exec() wont run program

From: Date: Fri, 10 Oct 2003 21:18:24 +0000
Subject: Re: Exec() wont run program
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-165795@lists.php.net to get a copy of this message
Curt Zirzow wrote:
What is gedit? it looks like the gnu text editor command. most X applications wont run from the webserver in most cases.
gedit is a simple text editor - I think it stands for Gnome Edit
echo shell_exec("sudo gedit"); might give some answers, Curt.
Tried echo shell_exec("sudo gedit"); and still application doesn't run and no output is echoed to the web page. You said most X applications won't run from the webserver. Is there a way to get around that? Because I tried calling a custom shell script which opened those programs for me, which also didn't work. I've created a few applications in Kylix and I want to start them through a web browser using PHP.

« previous php.general (#165795) next »