Re: is there a dos-box ?
| From: | Doug Burkhalter | Date: | Tue, 26 Sep 2006 21:33:10 +0000 |
| Subject: | Re: is there a dos-box ? | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-7273@lists.php.net to get a copy of this message | ||
I checked about this a long time ago, because I was interested in
offering a different interface depending on how they wanted to run it
or not. Mind you, this was over a year ago, and things might have
changed a bit with 2.0.
My findings, if I recall correctly, were that it wasn't really
possible; this is unfortunate, it would be very useful...for instance,
I had planned on offering a web, cli, or gui interface depending on
where they ran it from; but short of just making them run with
different commands, it's not going to be possible to find out.
Mind you, this might have changed in 2.0, but I doubt it.
On 9/26/06, Titeuf <titeuf@2m01.net> wrote:
Hi, In an application I need to know if, under Windows, the script is called using php_win.exe or not. In fact I want to print things into the dos box (via a print command) if running with php.exe and to create a new window if running with php_win.exe (because in that case, no dos-box is available) Can someone help me ? Titeuf -- PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php