Windows Explorer PHP File Template (ShellNew)

When you need to quickly create a new empty HTML file or PHP script in Windows the following template will do exactly that.

Import the following code into your Windows registry. Make sure you already have the PHP (.php) file type defined.

Windows Registry Editor Version 5.00


Wait about 20 minutes (or reboot) and then you'll have the option to create a new PHP file from your "New" context menu.
Windows Explorer Create new PHP Script File

It will have the following contents:





<?php ?>