From owner-freebsd-newbies@FreeBSD.ORG Sun Aug 15 15:49:56 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 5B5ED16A4D5 for ; Sun, 15 Aug 2004 15:49:56 +0000 (GMT) Received: from mailout06.sul.t-online.com (mailout06.sul.t-online.com [194.25.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA8CE43D54 for ; Sun, 15 Aug 2004 15:49:55 +0000 (GMT) (envelope-from Michael-Rottmeier@t-online.de) Received: from fwd05.aul.t-online.de by mailout06.sul.t-online.com with smtp id 1BwNGc-0002JA-00; Sun, 15 Aug 2004 17:49:54 +0200 Received: from oemcomputer (VaowUQZUYe+zpHzFBvzLVPFMbvEo9SaI93KSGFPWbe9VIKkOLDQGQg@[217.2.42.12]) by fwd05.sul.t-online.com with smtp id 1BwNGa-1F5k6i0; Sun, 15 Aug 2004 17:49:52 +0200 Message-ID: <000a01c482df$56d60140$0c2a02d9@oemcomputer> From: Michael-Rottmeier@t-online.de (Michael Rottmeier) To: Date: Sun, 15 Aug 2004 17:48:38 +0200 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-ID: VaowUQZUYe+zpHzFBvzLVPFMbvEo9SaI93KSGFPWbe9VIKkOLDQGQg Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: 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 15:49:56 -0000 Hi there, my question is not primariyl related to FreeBSD but more to FreeBSD and = PHP 4. 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: [code] //start Notepad.exe minimized in the background: $WshShell =3D new COM("WScript.Shell"); $oExec =3D $WshShell->Run("notepad.exe ,1, false); [/code] I know that the COM command is not supported on FreeBSD according to the = php manual but I'm searching the web now for hours and hours looking for = a way to port this piece of code to something working when the script is = run on a FreeBSD server. What is important is that the started text editor (here on Windows: = notepad.exe) should be visible to the user. Can anybody give me please some clues for this problem?! Thanks, anyway. Cheers, Michael