From owner-freebsd-newbies@FreeBSD.ORG Sun Aug 15 16:10:03 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7077316A4CE for ; Sun, 15 Aug 2004 16:10:03 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1463543D31 for ; Sun, 15 Aug 2004 16:10:03 +0000 (GMT) (envelope-from matze@matzsoft.de) Received: from [212.227.126.203] (helo=mrvnet.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1BwNa6-0008Hb-00; Sun, 15 Aug 2004 18:10:02 +0200 Received: from [172.23.4.148] (helo=config21.kundenserver.de) by mrvnet.kundenserver.de with esmtp (Exim 3.35 #1) id 1BwNa5-0000wc-00; Sun, 15 Aug 2004 18:10:01 +0200 Received: from www-data by config21.kundenserver.de with local (Exim 3.35 #1 (Debian)) id 1BwNa5-0005wz-00; Sun, 15 Aug 2004 18:10:01 +0200 To: From: Message-Id: <5693091$1092585771411f892b9c3359.04348306@config21.schlund.de> X-Binford: 6100 (more power) X-Originating-From: 5693091 X-Mailer: Webmail X-Routing: DE X-Received: from config21 by 80.171.75.108 with HTTP id 5693091 for freebsd-newbies@freebsd.org; Sun, 15 Aug 2004 18:08:01 +0200 Content-Type: text/plain; charset="iso-8859-1" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Priority: 3 Date: Sun, 15 Aug 2004 18:08:01 +0200 X-Provags-ID: kundenserver.de abuse@kundenserver.de ident:@172.23.4.148 cc: =?iso-8859-1?Q?Michael_Rottmeier?= Subject: Re: newbie question :-| X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Aug 2004 16:10:03 -0000 Michael Rottmeier schrieb am 15.08.2004, 17:48:38: > Hi there, > I'm writing the 2nd version of a larger project in PHP and want to use a > php command which launches (if the server is a Windows machine) a simple > text editor; here's what I do if the php script is run on a Windows > Server: ( truncated ) Look at: http://de2.php.net/manual/en/function.exec.php There is exactly asked and answered your problem by s/o else... In fact its a simple exec() -- make sure you set the DISPLAY env in case the editor must have a gui