Joke Collection Website - Joke collection - Php website source code and how to run it on this machine

Php website source code and how to run it on this machine

To run PHP code, you must have an existing server environment.

1. Download a xampp on the Internet and install it.

2. Put your code in xampp\htdocs\.

3. Open a browser and enter 127.0.0. 1/ file name. php。

For example, if you have a file named index.php, you can access it directly by typing127.0.0.1/index.php.

4. It is suggested to add folders in htdocs to avoid confusion.

5. You can also change the default htdocs directory to another location, which is described in this website.