Re: PHP-Gtk2 installer / extension problem
| From: | Rubem Pechansky | Date: | Sat, 13 Nov 2004 14:53:11 +0000 |
| Subject: | Re: PHP-Gtk2 installer / extension problem | ||
| References: | 1 2 3 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-804@lists.php.net to get a copy of this message | ||
> Another plus for .phpw would be that if you have a folder full of .php
> files (classes), one could know very easy which file to click.
> I like .phpw
I use .phpw for WinBinder scripts for the same reason. It's easy to spot the
actual Windows script in a list of files. It gets even better (think about
the end user) if you create an association with php-win.exe.
-------------------
Rubem Pechansky
WinBinder - The native Windows binding for PHP
http://winbinder.sourceforge.net/
Hypervisual - Advanced Design for IT
http://hypervisual.com/
> With all respect to Frank , most windows users like thier extensions!
>
> What has confuddled and alienated many potential new (win32) php-gtk users
> is simply running the apps in the first place.
> How many potential new users downloaded php-gtk and never even managed to
> get the samples working ? I suspect many more than you think ... I know
lots
> of them ;)
> How many more got the samples working then realised thier local apache/php
> installation no longer worked ? (a different issue but anyway)
>
> I hate messing with anybody elses registry , but file association is not
> hard with NSIS-like installers & even win32_std etc can mess with the
> registry in a 'pure' PHP installer.
>
> I like .phpw
>
> + I still like the phpx:// protocol for win32 which nobody seemed
interested
> in & which I would advocate further if I were not so unsure of the
security
> concerns... with such you could run a php-gtk app from the command prompt
,
> a shortcut , windows explorer , IE address bar etc even <a
> href="phpx://my_app">my_app</a> , sadly so can any web page ~
>
> Regardless I think there should be some direction from
>
somewhere on this
> matter if only as guidelines for those of us who make installers , I
suspect
> there will be many more such systems for PHP-GTK2 and a multitude of
> differing approaches will be counter-productive for PHP-GTK.
>
> Most of all , I think ignoring the issue ( I understand & accept that not
> all think it IS an issue ) and leaving it as simple .php files is a
mistake.
>
> Regards,
> Simon
>
> [HKEY_CLASSES_ROOT\phpx]
> @="\"URL:PHP Protocol\""
> "URL Protocol"="\"\""
>
> [HKEY_CLASSES_ROOT\phpx\shell]
>
> [HKEY_CLASSES_ROOT\phpx\shell\open]
>
> [HKEY_CLASSES_ROOT\phpx\shell\open\command]
> @="F:/phpdev/php/php-4.3.8/php_win.exe -q -c f:/windows/php.ini.438 -f
> e:/phpdev/www/strapper.php %1"
>
> where strapper.php simply validates and exec()s %1
>
>
............................................................................
>
............................................................................
> .............................
>
> ----- Original Message -----
> From: "Christian Weiske" <cweiske@cweiske.de>
> To: "Frank M. Kromann" <frank@kromann.info>; "PHP-GTK Dev list"
> <php-gtk-dev@lists.php.net>
> Sent: Saturday, November 13, 2004 5:13 AM
> Subject: Re: [PHP-GTK-DEV] PHP-Gtk2 installer / extension problem
> >Hi,
>
> >> Thats not exactly correct. .com files are loaded into a fixed memory
> >> position, and replaces the command intepreter on load. where .exe files
> >> can be loaded into any memory location, and moved arround (no absolute
> >> jumps).
> >Ok, I give up.
> >Just remembered that I had many .com apps in my DOS days, and nearly
> >none today.
>
> >So we use .php as normal file extension for php-gtk applications, and
> >associate them with php. Ok.
>
>
> >Regards/MfG,
> >Christian Weiske
> >--
> >XMMS is playing now:
> >Dido - Stoned
>
> --
> PHP-GTK Development Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>