note 127 added to install.win32.php
| From: | rebelinside@php.net | Date: | Wed, 01 May 2002 03:53:06 +0000 |
| Subject: | note 127 added to install.win32.php | ||
| Groups: | php.gtk.webmaster | ||
| Request: | Send a blank email to php-gtk-webmaster+get-425@lists.php.net to get a copy of this message | ||
Note: to set up file association do the following:
- run regedit (start->run->regedit)
- In the HKEY_CLASSES_ROOT add a Key named '.php' and set the default value to
'php_gtk'
- Add another Key on HKEY_CLASSES_ROOT named 'php_gtk'
(Inside this key...)
- Set the default value to 'PHP GTK File' (Or anything else)
- Add a Key named 'DefaultIcon' and set the default value to '{phpExe},1'
- Add a Key named 'shell' (in php_gtk) and a key inside 'shell' named
'open' and another key inside 'open' named 'command'
__+ php_gtk
__|- DefaultIcon
__|-+ Shell
____|-+ Open
______|- Command
- Set the default value to '{phpExe} -q %1'
So... u get a file association. Double-click the file to open it
Notes:
1. Replace {phpExe} to the path of exec. e.g.: C:\php4\php.exe;
2. You can add more commands than open, see the key 'txtfile' on
'HKEY_CLASSES_ROOT' for examples
http://gtk.php.net/manual/en/install.win32.php