Creating a version management system with ActivePHP

zhaozj2021-02-16  160

Creating a version management system with ActivePHP

Easy @ phpe / text

When learning PHP, we are always taught, PHP is a server-side script, which cannot be used to control the client. And with the release of PHP5, this sentence is not so correct. Because now, PHP can also be used to write client scripts. Yes, you have not mistaken, write the client script with PHP.

ActivePHP installation

Let's demonstrate how to write a client script using a PHP. First, you need to download the installation package on Windows, then extract into a directory, such as: c: / program files / easyphp5 / php, then enter the Windows command line mode, CD to you decompress the PHP5 directory, Then type:

Regsvr32 php5activescript.dll

After the carriage return, you will see a success reminder:

This shows that you can use ActivePHP. Ok, let's write a simple script to test, remain globally generally HelloWorld: P.