The server architecture involved in this article is mainly for Small and Medium-sized websites of about 3000 people/15 minutes. It is mostly seen in discuz! Communities built on forums, etc.The environment is composed of Linux (kernel 2.6 +), nginx,
$. Ajax () method parameters and cases in JQuery, jquery. ajax
Load remote data using HTTP requests. JQuery underlying AJAX implementation. For easy-to-use high-level implementation, see $. get, $. post, and so on. $. Ajax () returns the created
Assume that a ModelAndView bean is bound in the Action through get/set to render page data. In actual development, this bean may contain information required by various pages, so it is quite complicated.
Set: bean mv
[Java]Public class CompanyMV
JQuery page refresh (local, all) problem analysis, jquery page refresh
This article introduces jquery refresh in two parts. The first part introduces partial page refresh. The second part introduces all page refresh.First:Partial page refresh
JQuery
Regular Expression matching, where:
*~ Case-sensitive matching
*~ * Case-insensitive match
*!~ And !~ * Case-insensitive and case-insensitive
File and directory match, where:
*-F and! -F is used to determine whether a file exists.
*-D and!
Others, pseudo-static can be combined with SEO to improve the ranking of the site, and also give a stable impression.
Since the pseudo-static state must be set completely based on different sites, we can only briefly introduce its principle and
The technology of deleting Articles in batches is not profound. I just want to write it down and share it with you. (Suitable for beginners :)
1. On the article list page (list. php), name the multiple baskets "$ del_id []" and set the value to the
The Lnmp configuration has set up nginx lnmp, as well as blogs and forums. I am doing this statically.
Create a discuz. conf file, wordpress. conf file, and nginx. conf file in the same folder. Place the file in the
Preface a student from a senior O & M group of QQ cannot figure out the concept and connection between URL and Uri when matching the nginx location, therefore, I wrote an article to sum up the concepts. Of course, most of the concepts are extracted
When "url Rewrite" is enabled in the background, everything looks normal. However, when you click a topic, the page of the Forum is still displayed. I looked at the Forum directory and found that there was no such directory. htaccess file, so the
When Ajax is used to send request parameters to the server, different information can be requested from the server. The same as submitting a common table, the Ajax-based request can also be divided into get and post.Use the get Method
You can use
Address: http://www.czbin.cn/hc/HTTP.ERROR.403.2.php
Name: 403.2 forbidden access: Read access is denied.Type: HTTP Error: 400-403, permission Error TypeDescription: Access DeniedOverview: this error is caused by the absence of the read permission
After checking and testing on the Internet, we found that the Rewrite rules of Nginx are not very different from the Rewite rules of Apache and can be used almost directly. For example, write rules in Apache. The code is as follows:Copy code
The use of pseudo-static in nginx directly writes rules in nginx. conf, and does not require pseudo-static operations like apache to enable the write module (mod_rewrite).Nginx only needs to open the nginx. conf configuration file and write the
We need to enable rewrite Pseudo-staticSpecific operation method: log on to the KLOXO background, expand the domain name in sequence, install the WP domain name, script, and lighttpd address rewrite rule, then fill in the above rule in the input box
PHP-principles and resolutions of templates, php-template parsing. PHP -- about the principles and resolutions of the template, php -- the template parses this content as a note for future viewing. this content is from the course Li Yanhui, not
Nonsense don't say directly on the code
Front Code
Insert Title here
Background
!--? php//$name = $_get[' name '];//$age = $_get[' age ']; Yes//$sex = $_get[' sex ']; $name = $_request[' name '];//$age = $_request[' age ');
PHP has a lot of configuration parameters, you can directly access the system and operation directory.
For example, the System command (which allows PHP to access the Linux system directly, do some post-logon operations) in the default PHP-FPM
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.