The company asked me to submit a report once a week, but I had frequent business trips. I did not remember what I did after a week. so I read a book learning php and studied it for a while, I made a little thing that has only functions and no interface. I call it Wanwei thinking-wwsw. When you are in the car, you can use your phone to record it !! This code is a code that is full of loopholes and does not take any security into account. Cainiao can take it as an example. When I opened it on my mobile phone, I found garbled text in the pop-up window. I don't know how to solve it. I hope you can give me some advice. In fact, I still want to get a cache, but I can use it now. I don't want to do it first. if I want to cache it, I have to make a big change to my code. I don't have time to do this, because I am engaged in hardware automated code development, I have to do nothing to get started with this php code. Lack of functions and poor interface. hope you can give me some advice! Demo address: because the code security is not high, it is not recommended for beginners to study.
- -- PhpMyAdmin SQL Dump
- -- Version 3.3.7
- Http://www.phpmyadmin.net
- --
- -- Host: localhost
- -- Generation date: November 14, 2011
- -- Server version: 5.0.90
- -- PHP version: 5.2.14
- SET SQL _MODE = "NO_AUTO_VALUE_ON_ZERO ";
- /*! 40101 SET @ OLD_CHARACTER_SET_CLIENT = @ CHARACTER_SET_CLIENT */;
- /*! 40101 SET @ OLD_CHARACTER_SET_RESULTS = @ CHARACTER_SET_RESULTS */;
- /*! 40101 SET @ OLD_COLLATION_CONNECTION = @ COLLATION_CONNECTION */;
- /*! 40101 set names utf8 */;
- --
- -- Database: 'wwlog'
- --
- ----------------------------------------------------------
- --
- -- Table structure 'exlog'
- --
- Create table if not exists 'exlog '(
- 'Id' int (11) not null auto_increment,
- 'Ph 'varchar (1000) not null,
- 'Summary 'varchar (2000) not null,
- 'User' varchar (20) not null,
- Primary key ('id '),
- KEY 'id' ('id '),
- Fulltext key 'Ph '('ph '),
- Fulltext key 'summary '('summary ')
- ) ENGINE = MyISAM default charset = utf8 AUTO_INCREMENT = 1;
- --
- -- The data in the table is stored in 'exlog'
- --
- ----------------------------------------------------------
- --
- -- Table structure 'mylog'
- --
- Create table if not exists 'mylog '(
- 'Id' int (11) not null auto_increment,
- 'Date' varchar (10) not null,
- 'Week' varchar (6) not null,
- 'Log' varchar (500) not null,
- 'Sumlog' varchar (10000) not null,
- 'User' varchar (20) not null,
- Primary key ('id '),
- KEY 'user' ('user ')
- ) ENGINE = MyISAM default charset = utf8 ROW_FORMAT = DYNAMIC AUTO_INCREMENT = 1;
- --
- -- Store the data in the table 'mylog'
- --
- ----------------------------------------------------------
- --
- -- Table structure 'ow'
- --
- Create table if not exists 'Ow '(
- 'Id' int (11) not null auto_increment,
- 'Date' datetime not null,
- 'Oneword' varchar (500) not null,
- 'User' varchar (20) not null,
- Primary key ('id '),
- KEY 'user' ('user ')
- ) ENGINE = MyISAM default charset = utf8 AUTO_INCREMENT = 1;
- --
- -- Store the data in the table 'ow'
- --
- ----------------------------------------------------------
- --
- -- Table structure 'user'
- --
- Create table if not exists 'user '(
- 'Username' varchar (20) not null,
- 'Password' varchar (100) not null,
- 'Nickname' varchar (10) not null,
- 'Desc_id' varchar (100) not null,
- KEY 'username' ('Username '),
- KEY 'nickname' ('nickname ')
- ) ENGINE = MyISAM default charset = utf8;
- --
- -- Store the data in the table 'user'
- --
|