?/** Etc.passwd.inc v1.0** Syntax:* VERIFYPASSWD (String USERNAME, String PASSWORD)** The function would return one of three values:*-2 If there was a file reading error*-1 if the password is incorrect* 0 if the username doesn ' t exist* 1 If the
Illegal character Filter This article is mainly about the PHP filter illegal characters do not speak the ASP filter illegal characters of the function but the idea is the same.
Filter the characters that affect MySQL's normal operation.
You should
The difference between nchar,char,varchar and nvarcharRecently in the company to do projects, encountered a problem, built a database tutorial in the Chinese characters and phonetic symbols displayed as garbled, the group of people all characters
The first method, browser settings compatibility mode
Open IE, click on the "Tools" menu, select "Compatibility View Settings" and check the "Show all sites in Compatibility View" option.
The second method, which uses the editor's Web page:
1. Get the scrolling event of the IFRAME page
A, inside the containing page the body tag is added onscroll= "Fun ()" [For chrome, not for IE]
b, in js with window.onscroll = function () {}
2, get the page scroll bar height
The code
Today to help a friend's girlfriend's relatives of the entire site, with the Dedecms, there is a period of time did not touch the Dede, feeling a little rusty, but fortunately the site functions generally, so spent half a day to the whole out. In
Getting the parameter value, given the parameter name, is easy to do with regular expressions.
JS implementation method is as follows:
The code is as follows
Copy Code
function GetValue (URL, name) {var reg = new RegExp
Solution One:
The code is as follows
Copy Code
Echo ' charset=utf-8"/> '";Echo ' ';
Solution One:
If you're using an external call,
If JS and page encoding does not count one also may appear garbled, the
This needless to say, directly affixed to the code. Code has comments:
The code is as follows
Copy Code
/** Pop-up div layer*/function Showdiv (){var idiv = document.getElementById ("Idiv");var mou_head =
The effect of this new message hint is used in the company's project, which is mainly used to prompt the user for new messages. The specific implementation code is as follows:
The code is as follows
Copy Code
var
I'm using the kindeditor-4.1.5 version.
Link Address: Http://kindeditor.googlecode.com/files/kindeditor-4.1.5.zip
Syntaxhighlighter code highlighting the plugin can be found on the Internet
Steps:
1. Locate the Kindeditor code plug-in's Code.js
Final effect
2, observe the dark part of the histogram of the details and levels, found that the early work done very well, temporarily do not have to adjust the brightness and
UPDATE statement speedThe optimization of update queries is the same as that of SELECT queries, and additional write overhead is required. The write speed depends on the size of the updated data and the number of updated indexes. Indexes that have
Ob_start ([string output_callback])-open the output bufferAll output information is not directly sent to the browser, but saved in the output buffer. An optional callback function is used to process output result information.Ob_end_flush-end (SEND)
/*Now I want to use dedecms for a Q & A function. This function does not require users to log on and ask questions. Because credits are required during the problem, I have canceled both the credits and credits.FindOpen the post. php Tutorial file
How to prevent data insertion from refreshing webpagesI made a message board, but information will be inserted every time I refresh it. What can I do to prevent refreshing and inserting data?JS returns after each operation$ Regs = mysql_query ($
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