Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Aug 2004 18:08:01 +0200
From:      <matze@matzsoft.de>
To:        <freebsd-newbies@freebsd.org>
Cc:        =?iso-8859-1?Q?Michael_Rottmeier?= <Michael-Rottmeier@t-online.de>
Subject:   Re: newbie question :-|
Message-ID:  <5693091$1092585771411f892b9c3359.04348306@config21.schlund.de>

next in thread | raw e-mail | index | archive | help

Michael Rottmeier <Michael-Rottmeier@t-online.de> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5693091$1092585771411f892b9c3359.04348306>