This article is contributed by whyang2006
The reason for this is that it requires a Web page to control peripheral hardware under Arm's Linux platform.
Why do you want to do CGI programming? In HTML, when a customer fills out a form, and press
Dg.CGI, the Universal Gateway Interface (Common Gateway Interface), is the interface standard between external applications (CGI programs) and Web servers, and is a discipline for passing information between CGI programs and Web servers. The CGI
CgiThe CGI name is a "public Gateway Interface" (Common Gateway Interface), a tool that the HTTP server "chats" with programs on your or other machines, and its programs must be run on a network server.CGI can be written in any language, as long as
If you have to toss over Lnmp's friends certainly to these few names will not be unfamiliar, this article wants to introduce in a simple way what they mean, and what role.
CGI Introduction
The CGI full name is the "Public Gateway Interface"
The popularity of Perl is directly related to the vigorous development of the Internet. The powerful features and easy-to-expand features of Perl make it the most natural choice for developing CGI applications, and quickly become the preferred
To write a CGI script:
The most basic ruby CGI script looks like this:
#!/usr/bin/ruby
puts "http/1.0 OK"
puts "content-type:text/html\n\n" puts "
This is a test "
If you call this script test.cgi upload to a unix/linux web hosting
Ruby is a common language, not just a language applied to web development, but Ruby's development in Web applications and Web tools is the most common.
With Ruby you can not only write your own SMTP server, FTP program, or ruby Web server, but you
Abstract:Based on a detailed introduction to the implementation and configuration of an Embedded Web Server Boa, a program for online web Remote Monitoring gpio (General Input/Output) is used as an example, this article introduces the CPU program
http://blog.ednchina.com/longhaihai/255858/Message.aspx#
2 Implementation and configuration of Web Server boa
Under 2.1 uclinux, there are three web server:httpd, thttpd and Boa. HTTPD is the simplest of a web Server, it is the weakest, does not
Introduction to CGI/HTML Web access through the Boa Server in Embedded Linux:
Step 1: port the boa Program
1. Download Boa Source Code
2. Generate the MAKEFILE file
3. Modify the MAKEFILE file
4. Compile
Step 2: Configure Boa
Step 3: Boa execution
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.