JavaScript.22. Mark elements (Mark Element)Think of elements as highlighting. The string that this label wraps should be associated with the user's current action. For example, when I search for "Beichuan" on some blogs, I can use some JavaScript to wrap the current result string with the mark tag.23. When to use DivSome of us started questioning exactly when to use Div. Now we can use headers, article, sections, and footer, as well as the opportunity to use div ... It? Of course.
Div
field is included, as follows:host:http://www.guet.edu.cnThe default port number 80 is used here, and if a port number is specified, it becomes: Host: Specify port numberHTTP Response HeaderAlso use Fiddler to view Response header, click Inspectors tab->response tab-> headers as shownWe also classify the header according to Fiddler, so that it is clearer and easier to remember. Cache header FieldDateRole: The exact time and date of the message generationExample: Date:sat, 11:35:14 GMTExpiresRo
header field is included, as follows:host:http://www.guet.edu.cnThe default port number 80 is used here, and if a port number is specified, it becomes: Host: Specify port numberHTTP Response HeaderAlso use Fiddler to view Response header, click Inspectors tab->response tab-> headers as shownWe also classify the header according to Fiddler, so that it is clearer and easier to remember. Cache header FieldDateRole: The exact time and date of the message generationExample: Date:sat, 11:35:14 GMTEx
with today.HTML5 Quick Check Table (HTML 5 Cheat Sheet (PDF))The XHTML 2 Working Group is expected to cease work by the end of 2009, and on the contrary, the project is planning to add input to the HTML5. Even though HTML will not be fully supported for 5-2022 years, it does not affect its being widely used! We decided to finish. A handy printable HTML 5 cheat sheet that lists all the tags supported at the moment, their descriptions, their properties
6!13. How to create a cross-browser form (how to Build cross-browser HTML5 forms)The first HTML5 saw that the effort was web Forms 2.0, originally called XForms Basic. Later, it was incorporated into the HTML5, which was then stripped of the repetition pattern and eventually evolved into the HTML5 form (forms) We are familiar with today. HTML5 Quick Check table (HTML 5 Cheat Sheet (PDF))The XHTML 2 Working Group is expected to cease work by the end of 2009, and on the contrary, it plans to inc
DURATIONLog_on_failure + = HOST}[Root @ mis010/] # vi/etc/xinetd. d/ipop2Service pop2{Disable = noSocket_type = streamWait = noUser = rootServer =/usr/sbin/ipop2dLog_on_success + = HOST DURATIONLog_on_failure + = HOST}Let xinetd re-read the set value.#/Etc/rc. d/init. d/xinetd reloadTest POP3Telnet myname.3322.org 110Test imapTelnet myname.3322.org 53
4. Install squirrelmail
(This is a popular webmail program, developed using php4, which can be used to send and receive mails Based on web)
4.1do
-typecontent= "text/htmlHttp-equiv=content-type represents the HTTP header protocol, prompting the browser Web page for information,Meta tag of charset information parameters such as GB2312, the representative of the website is the use of the code is Simplified Chinese;Meta tag charset information parameters such as BIG5, the representative of the website is the use of the encoding is traditional Chinese;Meta tag of the charset information parameters such as ISO-
expanded C section.It is necessary to note that extending part B in GB18030 is not a mandatory criterion.If you want to see the standard text for GB18030, visit the strong-label reading in http://www.gb168.cn.If you want to know the contents of Unicode, please visit http://www.unicode.org.Now correct a common error on the Web:gb18030-2000 and gb18030-2005 do not support single-byte euro symbolsThe following pages are related to Simplified Chinese:936 gb2312 Simplified Chinese (GB2312) ———— is a
parameters that represent the main content of the website and what the profile is.3. Meta tag http-equiv=content-typecontent= "text/htmlHttp-equiv=content-type represents the HTTP header protocol, prompting the browser Web page for information,Meta tag of charset information parameters such as GB2312, the representative of the website is the use of the code is Simplified Chinese;Meta tag charset information parameters such as BIG5, the representative of the website is the use of the encoding is
install a version later than 2.74 or more. check CGI. the pm version is as follows;
Perl-MCGI-e 'print $ CGI: version'
Install MIME-Base64 Kit
Cd/tmp
Tar-zxvf MIME-Base64-2.12.tar.gz
Cd MIME-Base64-2.12
Perl Makefile. PL
Make
Make install
Note: although your machine may have installed the MIME-Base64 suite, we recommend that you reinstall it from source. in doing so, it can be determined that the XS support in the MIME-Base64 has been started, can greatly increase the speed of processi
Php determines the encoding of the input characters on the page. In the php Tutorial, how does one determine the encoding of the input characters on the page? Phpfunctionconvtoutf8 ($ str) {if (mb_detect_encoding ($ str, UTF-8, ISO-8859-1, gbk )! UTF-8) {returniconv (gbk, UTF-8, $ str);} else {php Tutorial judgment page input character encoding method
Function convtoutf8 ($ str){If (mb_detect_encoding ($ str, "UTF-8, ISO-8859-1, gbk ")! = "UTF-8 "){
Return iconv ("gbk", "UTF-8", $ str );
case, you can obtain an alias for the table. Replace the table name with this alias.The basic form of getting an alias for a table in MySQL is as follows:Table name table alias
The code is as follows:
Select S. STU_ID, S. STU_NAME, S. STU_AGE, S. STU_SEX, G. STU_SCORE from student s, grade g where s. STU_ID = G. STU_ID and g. STU_SCORE> = 90;
9. query using regular expressions
Regular expressions are a way to match a type of strings in a certain pattern. For example, you can use A regular expr
PHP uses SMTP to send emails (PEAR)
PHPer mostly uses the mail function to send emails, but we can use other SMTP servers to send emails. we recommend that you use PEAR's mail package to send emails.
$ Subject = "This mail is sent from SMTP .";
$ Mail_body = "This is the body of the mail which is sent using SMTP .";
$ From = "From: From Name
";
$ To = "To: To Name
";
$ Cycler = "toaddress@xpertdeveloper.com ";
basic form of getting an alias for a table in MySQL is as follows:Table name table alias
select S.STU_ID,S.STU_NAME,S.STU_AGE,S.STU_SEX,G.STU_SCORE from STUDENT S,GRADE G WHERE S.STU_ID=G.STU_ID AND G.STU_SCORE >=90;
9. query using regular expressions
Regular expressions are a way to match a type of strings in a certain pattern. For example, you can use A regular expression to query strings containing any letter in A, B, and C. The query capability of regular expressions is more powerful a
of the pattern attribute, we can directly use the regular expression in your markup.21. Support for detection attributes In addition to Modernizr, we can also use javascript to easily check whether some attributes are supported, such:22. Mark ElementThe 23. When to use If HTML5 has introduced so many elements, do we need to use them? Div you can use it when there are no better elements.24. Do you want to use HTML5 now?Don't wait for 2022. Now you can
Why does HTML5 become a popular front-end language today, not after 2022? This article will provide a series of HTML5 architectures. Now you can try it out in your project .,.
HTML5 Architecture
HTML5 architecture (HTML5 Boilerplates)
Quick html5 document creationHtml5 documents are easy to establish. You only need to change the DOCTYPE declaration in the document header.
Copy content to clipboard
In this way, you have already created an HTML5 docume
technology.But what I want to say is:1. Flash supports 2D plotting as early as Flash 1. At the same time, Silverlight and JavaFX both support 2D plotting in their first version.2. Video/audio support is indeed a major improvement, but the current mainstream streaming media technology is still Adobe's FLV, and FLV occupies 90% of the share, can ogg and mp4 become mainstream formats? If not, can the 3. Formulation of offline standards: this is indeed a beautiful place, but Google Gears, Adobe AIR
Session Fixation vulnerabilities.
Let's take a real case. A sub-station in Sina has a url jump vulnerability, which is not very harmful. So I thought of CRLF Injection. When I tested
http://xxx.sina.com.cn/?url=%0a%0d%0a%0d%3Cimg%20src=1%3E
When the image is displayed on the page, CRLF Injection is successful:
Let's try XSS:
Check the console and it was intercepted by XSS Filter.
Then we inject
X-XSS-Protection:0
To the data packet to see what effect:
@ Mramydnei also came up with a method t
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.