Re: The php_gtk.exe/php_win.exe
| From: | Frank M. Kromann | Date: | Mon, 20 Dec 2004 18:54:35 +0000 |
| Subject: | Re: The php_gtk.exe/php_win.exe | ||
| Groups: | php.gtk.dev | ||
| Request: | Send a blank email to php-gtk-dev+get-834@lists.php.net to get a copy of this message | ||
Hi,
> So, do you want to tell us with this, that in the php5
> distribution the php-win.exe would be a mod of the
> php.exe, or what?
Yes that's the case. php.exe and php-win.exe are both SAPI modules in
PHP5. They use two different methods to launch the program, main() and
WinMain(). This causes the command line to be visible with php.exe and not
with php-win.exe.
> By the way: I've seen that Photoshop is dynamically
> rendering Icons for its *.psd files which will be shown in
> the explorer. I think it would be nice to implement
> something like this to the PHP-Gkt2 windows version. At
> moment I don't know how it works exactly, but I think this
> can be discovered.
> What do you think about this?
That's already the case. If you associate your script files (.php) with
php.exe or php-win.exe in PHP5 you will get a small PHP logo. If you use
php_win.exe you will get a php-gtk logo.
- Frank