Today, I saw a very interesting post of HF on SitePoint. PHP5 can be used as a client script, this is true: P
The method is this:
First download and decompress the PHP5, then enter the directory where PHP5 is located in the command line, register a DLL,
Regsvr32 php5activescript.dll
Then you can use ActivePHP5 in HTM, write a file, such as
$ Window-> Alert ("Hello ActivePHP5");
script>
Save to Test.htm, so you can run like JS ~