Learn CGI scripts (scripts)CGI meaning is Common Gateway Interface, a browser-based input, a program method that runs on a Web server. CGI scripts enable your browser to interact with the user, to find a noun in a database, to provide comments you
printf "%-5s%-10s%-4s\n" No Name Markprintf "%-5s%-10s%-4.2f\n" 1 Sarath 80.3456%-5s well-known a string substitution with a format of left-aligned and a width of 5 (-left justified)Pgrep-f WeChat to find the PID with WeChatvar= "Hello"echo $var and
Hello everyoneThis is a self-reading, learning shell programming, the work of a large number of applications, especially awk, SED, grep-based. Hope to be useful to everyoneYou can see the central location directly."Data"Export
PHP programming 1. Please write out the full English word for HTML tag meta: Metadata2. The property of the meta tag that corresponds to the function of the HTTP file header (the message that returns the Web page content correctly and accurately to
31, the Ord () function returns the ASCII value of the first character of a string. Syntax: Ord (String)ExamplePHP Echo Ord ("H"); Echo Ord ("Hello"); >Output: 10410432. The Parse_str () function parses the query string into a variable.Syntax: Parse_
One, CGI mode installation security
Second, the Apache module to install security
When PHP is installed as an Apache module, it inherits the privileges of the Apache user (usually "nobody"). This has some impact on security and authentication. For
Main content:
1 Java build tools ant
2 Ant's Projects,targets,tasks,properties
3 Simple ant Build file
5.3.1XML and HTMLXml:extensible Markup Language Extensible Markup Language1 HTML shows how to display data on a Web page, and he defines a
"13.1" What is shell script.
1 shell script is a "program" written using the function of the shell, which uses a text file to write some shell syntax and commands (including external commands) inside, with regular representations, pipeline
Copy Code code as follows:
/** PHP treats all class methods that start with __ (two underscores) as magic methods. So when you define your own class method, don't prefix it with __. * */
__tostring, __set, __get__isset (), __unset ()/*The __
As a developer, to write a webservice interface or call someone else's WebService interface, you first need to understand what is webservice. Simply put, WebService is a number of sites open some services, can also be your own development of the
①__get/__set: Takes over the properties of an object
When you access an object property that does not exist:
index.php
Copy Code code as follows:
Define (' BASEDIR ', __dir__); Defining Root Constants
Include BASEDIR. '
1.shell scripts are small-case2.Unix special characters are: (; $ & * () [] ' "+ Use it to escape ()3.Shell comments begin with #4. Definition of functionFunction Fuction_name () {Command to execute}Use Function_name directly when calling.5. Control
PHP is a server-side scripting language for creating dynamic Web pages. Like ASP and ColdFusion, users can mix PHP and HTML to write Web pages, and when a visitor browses to the page, the server first processes the PHP commands in the page and then
First: Find out the reason for the garbled. Always thought is the reason of the browser, the result I in CHROME,FIREFOX,IE9 inside all appear garbled, so the browser factor can exclude. To verify that I guess it was Gvim's reason,
I wrote a php file
This article describes the underlying file operations: Create, move, edit, delete files and foldersCommand and Case:mkdir Creating a Directory--Create two directories[Email protected]:~$ mkdir test2 test3--Create a new directory under Test1
1.shell condition judgmentCommand: Test or [Use "[" to End With "]" and a space between judgment statementssuch as: Determine if the demo.c file existsIf [-F DEMO.C]Then...FiOrIf Test–f demo.cThen...Fi1.1 String Comparisonsstring1 = string2 Same as
1,$$: Displays the current process ID number[Email protected]:~/linux/shell/how_to_use_var$CatShow_pid.SH #!/bin/BashEcho $$Sleep the[email protected]:~/linux/shell/how_to_use_var$ bash show_pid.SH&[1]9401[email
? security-enhanced Linux-----Equivalent to a security– The NSA National Security Agency led development, a set of enhanced Linux systemsFull-force access control system– integrated into the Linux kernel (2.6 and above) running–RHEL7 based on
1. Shell variablesThe shell variable assignment statement is "Name=[value", there can be no space on either side of the equal sign, you could append the contents "Name+=value" to the shell variable, cancel the shell variable's setting using "unset
Article Title: Linux environment variable settings-summary. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
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.