I didn’t want to open a virtual machine every time I tested PHP, so I built a test platform using XAMPP on my computer.
I have now imported my blog data locally and am preparing to write a template of my own.
Because I am used to creating a folder for different projects, and I don’t want to put other things in the root directory. In order to enter each project more conveniently, I want to create an index in the root directory. One project corresponds to a super Link. It's okay to use a static page, but if I add a new project, don't I have to update this static page? Programmers are generally very lazy, so they wrote a small program to list all directories in the current folder.
".$filename[$i]."
/n"; } }
It’s a very simple and practical little program, just make a CSS file and beautify it a little!