Since Typecho is a personal blogging system, it does not support large data volumes at the beginning of its design. But recently a lot of friends to me for help, hope to use Typecho to build a large number of commercial web site (such as foreign
As a result of the need to do a query data analysis, understand chartdirector this drawing various statistical charts of the plug-in, in the configuration process has appeared some errors, is summarized for your reference.
1. First download the
# Primary Case Description
SOURCE download
First, the structure is as follows
conn.php to connect to the database file
index.php first page, also the blog list page select * from Weibo where $id order by id desc limit 10;
edit.php for edit page
Very common MVC pattern, not here specifically elaborated, here specific talk about model.
Model should centralize data and business logic for the entire application
All business objects involved in the application should be abstracted as model
Before doing the topic has been used
c++ and
Python , suddenly with a
PHP problem, the results of the method is written to find not input, really pit bad oneself (life can not love) ...
Record, I will also use PHP input man (pride face)
//
2016.4.09
Update to version V1.2, build (1193)
Fixes and updates the following issues:
------------------------------------------------------
1. Improved the speed of Linux version. Can already be used in the real world.
2. Added conditional
Intl Extension (PHP IntlIs the expansion of international, is
ICUA wrapper for the library.
)
sudo apt-get install php5-intl
sudo service apache2 restartPDO SQLite extensionsudo service apache2 restartPDO PostgreSQL extensionsudo apt-get install
bool empty ( mixed$var )
Judging whether a variable is empty or not, it can also be understood to determine if the variable is false. Returns a Boolean value of TRUE or false.
In addition to not generating a warning when a variable has no
An iterator pattern that iterates through the inner elements of an aggregated object without needing to know the internal implementation. In contrast to traditional programming patterns, the iterator pattern hides the operations required to traverse
Today, the Resizeimage function of GD to deal with the thumbnail image of jpg suffix file, the picture is not a legitimate JPG image and error
1 Warning: for sequential JPEG
Domestic online Search A lot of data also did not find an
Markdown Usage Habits
In Markdown, the last two spaces in each line plus a carriage return equals the newline character
Firefox usage habits
Control+b Search TagsControl+shift+m Responsive Layout window to see the sharp edge
Zend Eclipse PDT
This method details the literal value of the string and preserves the underscore and other spaces (including indentation) of the string in the text. For example:
1
PHP2$author = ' Wixy '; 3 echo _end4thisis a headline5
If we are upgrading nginx, it is impossible to stop the server to upgrade in the production environment, so we need a smooth upgrade
Smooth upgrade: When a worker process is processing a request while a smooth upgrade is in progress, the worker
Gets the string length to be implemented with the strlen () function.
The syntax is as follows:
int strlen (String str)
Test:
$str = "123abc,.;"; echo strlen ($STR);
The results are as follows
10
$STR = "107 website studio"; Echo strlen
Although once done, but often forget, special record it for follow-up review.
Related information:
Linux under the Tomcat run environment build see another blog post: http://blog.csdn.net/xiadi934/article/details/50911175
Tomcat7.0 official cluster
Although this problem is small, positioning is somewhat difficult, after several times determined, with the following solution:
The 1th step. can be set in Dreamweaver (under the Title/Coding tab under Page properties);
2nd step, if PHP is
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