Re: is there a dos-box ?
| From: | Sean Coates | Date: | Wed, 27 Sep 2006 02:12:57 +0000 |
| Subject: | Re: is there a dos-box ? | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-7276@lists.php.net to get a copy of this message | ||
Brian A. Stumm wrote:
> I'm betting that the OP was refering to programatically determining if the
> client started the app via php-win.exe or php.exe and thus determining
> wether or not the app may use the dos box to output data or something. The
> php-gtk program can't exactly "look" at the screen to see this...
>
> For some reason I am confident that this information can be determined
> programatically but I dont have the exact code to do so. I'm tempted to
> look into this so I might post back later.
According to this:
http://cvs.php.net/viewvc.cgi/php-src/sapi/cli/config.w32?view=markup
The PHP_SAPI constant should be "cli" for php.exe and "php_win32" for
php-win.exe
At least I think so (-:
S