One principle Difference
Generally in the browser to enter the URL access resources are through the get way, in form submission, you can specify the way to submit by using method for Get or post, the default is to submit
HTTP defines different
Reprint: http://www.cnblogs.com/li0803/archive/2008/11/03/1324746.html
Author:jeffrey
Introduction
HTTP is an object-oriented protocol belonging to the application layer, which is suitable for distributed hypermedia information System because of
page Instruction (page directive)Properties of page directive:
(1) Language: Specifies the scripting language used in JSP pages;
(2) ContentType: Specifies the MIME type and character encoding used when server-side sends data to the browser end, the
The principle and implementation of CGI interface
CGI interface principle and implementation (2012-12-7 over)
1.CGI definition:
CGI (Commongateway Interface) is a tool for HTTP servers to "talk" to programs on your or other machines, and its
HTTP messages are text-oriented, and each field in a message is an ASCII string, and the length of each field is indeterminate. HTTP has two kinds of messages: Request message and Response message.
HTTP Request message
An HTTP request message
the difference between get and post of HTTP request methodTags: soap server encodingwindowsurl browser 2012-08-18 16:24 937 people read comments (0) Favorites Report Category: Web Applications (3)
Copyright NOTICE: This article is the original
It's always good to have a magic tool when writing code! Here's a collection of 40+ PHP snippets that can help you develop PHP projects. These PHP clips are also very helpful to PHP beginners, very easy to learn, let's start learning ~ 1. Send SMS
You can send header information through the header function in PHP, and you can set the Content-type of the file, and then sort out the content-type values for some common file types.
Date 2015-06-22//Definition Code header ('
You can download a Perl language interpreter first, download the. msi suffix file (your own Internet load one installation package), double-click the mouse to run it, this is a WindowsInstaller packge format installation package, all the way next
This article brings together 10 pieces of code that are often used in PHP development, including email, 64-bit encoding and decoding, decompression, 64-bit encoding, parsing json, and so on, and I hope to help you.
1, use the PHP mail function to
First, what is the HTTP protocol
HTTP is a shorthand for the Hypertext Transfer Protocol (Hypertext Transfer Protocol), an application-layer protocol of the TCP/IP protocol that defines the process of exchanging data between a Web browser and a Web
js| Syntax html annotation
Displays a comment on the client.
JSP syntax
spacing= "0" cellpadding= "2" bordercolorlight = "BLACK" Bordercolordark = "#FFFFFF" align= "center" > ]-->
Example 1
Generate the same data as above in the client's HTML
js| Detailed Explanation | grammar
1 HTML comments:You can use annotation content, or you can use an expression.2) Hide the annotation:Annotations are ignored when compiled by the JSP. The compiler will not compile the statement between, and it will
include|js| Dynamic | Control This is a follow-up article from the Java "insider" Brett McLaughlin following the first JSP best practice article, in which the author shows you how to extend the inclusion functionality for dynamic content in JSP
two methods of HTTP request: Get and POST
The two most commonly used methods for request-response between the client and the server are: Get and POST. Get-requests data from a specified resource. POST-submits the data to be processed to the
The header () function sends the original HTTP header to the client.
Copy Code code as follows:
200 normal state
Header (' http/1.1 OK ');
301 permanent Redirect, remember to add a redirect to the following address Location: $url
This article summarizes the HTTP protocol used by header in PHP and the common methods. Share to everyone for your reference. The specific methods are as follows:
Copy Code code as follows:
? Php
function HTTPS ($num) {
$http = Array (
The caching of the Web page is controlled by the "Cache-control" in the HTTP message header, the common value has private, No-cache, Max-age, must-revalidate, etc., the default is private. Its role is divided into the following situations according
URL of HTTP protocol Chapter
HTTP (Hypertext Transfer Protocol) is a stateless, application-layer protocol based on request and response mode, which is often based on TCP connection, and provides a continuous connection mechanism in HTTP1.1
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.