Re: is there a dos-box ?

From: Date: Wed, 27 Sep 2006 07:55:48 +0000
Subject: Re: is there a dos-box ?
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-7281@lists.php.net to get a copy of this message
Huuu u're right ! A little test that prints PHP_SAPI returns : - php.exe : cli - php-cgi.exe : cgi-fcgi - php_win.exe : php_win32 That's simply wonderful :) Thanks Titeuf Le 27/9/2006, "Sean Coates" <sean@caedmon.net> a écrit: >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 >

« previous php.gtk.general (#7281) next »