PHP native static HTML article announcing system ideas

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.