Re: Run as program
| From: | Frank M. Kromann | Date: | Sun, 15 Jul 2001 22:47:51 +0000 |
| Subject: | Re: Run as program | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-2181@lists.php.net to get a copy of this message | ||
Hi All,
Here is a version og php_win.exe that I intent to include with the next release.
to use the program you must either have php.exe in c:\php4 or you must set en environment variable
set PHP_BIN=c:\php4\php.exe
before calling php_win.exe.
With this file you can create links like this that will open your gtk applications without the dos
prompt.
Usage: php_win <path to php-gtk script>
Any inputs, comments ore feature requests are welcome.
- Frank
> It's getting to that stage now where it would be useful to have a distribution version
> & a development version of the PHP-GTK win32 binary. Any chance?
>
> ----- Original Message -----
> From: "Jonas Delfs" <jonas@delfs.dk>
> To: "Steph" <steph.fox@btinternet.com>; <php-gtk@lists.php.net>
> Sent: Sunday, July 15, 2001 6:39 PM
> Subject: Re: [PHP-GTK] Run as program
>
>
> Thanks for your answer.
>
> If i understand you correctly, the only way to get around this, is to correct something in one
> of the .c-files and then compile my own version, or ?
> Of cause i would like to see my error-messages but users don't... and that's one of
> the reasons why i don't want the console-window hanging around.
>
> ----- Original Message -----
> From: "Steph" <Steph.Fox@btinternet.com>
> To: "Jonas Delfs" <jonas@delfs.dk>; <php-gtk@lists.php.net>
> Sent: Sunday, July 15, 2001 7:17 PM
> Subject: Re: [PHP-GTK] Run as program
>
>
> Really this is down to Frank Kromann, who compiles the Windows binary releases - but it is a
> GTK+ /win32 issue, so here's the url for the gtk list's archive on the subject:
>
>
> http://mail.gnome.org/archives/gtk-devel-list/2000-July/msg00430.html
>
> - snag is, there doesn't appear to be a way to provide a toggle, and some of us like to be
> able to see our error messages -
>
> ----- Original Message -----
> From: "Jonas Delfs" <jonas@delfs.dk>
> To: <php-gtk@lists.php.net>
> Sent: Sunday, July 15, 2001 4:25 PM
> Subject: [PHP-GTK] Run as program
>
>
> Hello
>
> Can anyone tell me how to start my php-gtk-program as a program under Windows 2000?
> I'm looking for the way to do this:
>
> #!/usr/local/bin/php -q
>
> <?php
>
> echo "i'm a program";
>
> ?>
>
>
> I know i can throw a command[1] in a dos-prompt, but i really don't whant that stupid
> black window hanging around when my program is running.
> If there's another way to get around this, it would be perfect as well.
>
> [1]: c:\php\gtk\php -q c:\backup\progra~1\php-gtk\flaf.php
>
> --
> Mvh./Best Regards
> Jonas Delfs, http://delfs.dk
>
>
> --
> PHP GTK Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-gtk-unsubscribe@lists.php.net
> For additional commands, e-mail: php-gtk-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>
> --
> PHP GTK Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-gtk-unsubscribe@lists.php.net
> For additional commands, e-mail: php-gtk-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>
> --
> PHP GTK Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-gtk-unsubscribe@lists.php.net
> For additional commands, e-mail: php-gtk-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>
>
>
Attachment: [application/x-msdownload] php_win.exe
Attachment: [application/x-msdownload] php_win.exe