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
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
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
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
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
FPDF error:could not include font metric file
This error is caused by two reasons:
1 . font file missing
2 . Insufficient font file permissions, requires 777 of permissions
3. Font file path issues
Content Encoding Error
not
Because PHP was originally born to assist the generation of HTML, so the code and HTML code mixed together to write, it is the characteristics of PHP is also the advantages, but also caused a lot of division of labor problems, that is, you write PHP
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
Project Structure:
Operating effect:
conn.php
Copy the Code code as follows:
$conn = @ mysql_connect ("localhost", "root", "") or Die ("Database link error");mysql_select_db ("form", $conn);mysql_query ("Set names ' GBK '"); Use GBK Chinese
When we use curl to post data, we need to set the post data
curl_setopt ($c, Curlopt_postfields, $post _data);
If the $data here are
Copy the Code code as follows:
$data = Array (' Name ' = ' Scofield ',' Time ' = ' 2012-2-3 ')
Next, you need to
In PHP, arrays are divided into two categories: numeric indexed arrays and associative arrays.
Where the numeric index array is the same as the array in the C language, the subscript is for 0,1,2 ...
Associative array subscripts may be of any type,
First, upload the form HTML code
Copy the Code code as follows:
Note: 1, action is the upload of new
2, Enctype this attribute to write "Multipart/form-data"
Second, PHP code
Copy the Code code as follows:
if (Is_uploaded_file ($_files["IMGs" ["
PHP includes several functions that can determine the type of variable, such as: GetType (), Is_array (), Is_float (), Is_int (), Is_object (), and is_string ().
Copy the Code code as follows:
$s = "This is a string";$i = 9;$arr = Array (2,4,6)
Here is an easy way to log in directly using Discuz's include/common.inc.php.
Copy the Code code as follows:
Include_once (".. /discuz/include/common.inc.php ");$CTDF _userinfo = Array ();$CTDF _userinfo["sid"] = $sid;$CTDF _userinfo["UID"] =
The written answer is not very good, especially the JS part, but also for a long time did not review the reason.
On the machine topic is to write a copy of the Google Page class, when to take like 9/2 of the largest integer, but how can not think of
Our grassroots webmaster purchase of the virtual host often have a limited number of files, a large number of small files occupy a large number of resources, the outdated essence of the brother recommended watercress solution, but to have host
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