Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Aug 2004 17:48:38 +0200
From:      Michael-Rottmeier@t-online.de (Michael Rottmeier)
To:        <freebsd-newbies@freebsd.org>
Subject:   newbie question :-|
Message-ID:  <000a01c482df$56d60140$0c2a02d9@oemcomputer>

next in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000a01c482df$56d60140$0c2a02d9>