1. a session file is required. of course, this file is used to determine whether it is a PHP file of the administrator. 2. a getip. php file is required. This file is used to obtain the ip address and is also used by the administrator. 3. The core file is officially started. In html. php,
1. a session file is required. of course, this file is used to determine whether it is a PHP file of the administrator.
2. a getip. php file is required. This file is used to obtain the ip address and is also used by the administrator.
3. The core file is officially started. In html. php, a form is required for login. Of course, this form action is also its own. Post lags behind the page announced in an article. This page is a title and a content. Here, title is your title, and content is the body. I applied fckeditor to input content. A compilation tool that is quite useful. Then, the job is submitted. I also use html. php to perform the post action. Add the title to the string of the page that I created at the beginning. That is. Then add content to the original text mark.
4. use fopen to create a file. the file name is date (), and fwrite is written into this file. This makes your article page born.
5. native directory file. of course, a directory is required for an article. but how is it possible to create a directory file. this is really a little different from the above. you only need to pay attention to a title. at the beginning, when producing the article page, you need to write your file name and title to a txt file. in this way, your document directory page will naturally be very convenient.
Well, the idea is like this. it's very simple to understand.