I found that I have enough languages and development platforms ..C-> VBScript-> C ++-> C #-> C ++-> ruby-> PHP
This post has accumulated some PHP knowledge.
First, the basic output:1 echo (): This is not a function. It is a PHP statement that
Definition and usage
Set_error_handler () function to set custom error handling functions
This function is used to create your own error handling methods during runtime.
This function will return the old error handlingProgramIf it fails, null
Simple selection and sortingAlgorithm: Through the comparison between n-I keywords, the records with the minimum keyword are selected from n-I + 1 records, and the records with the I (1
1 PHP 2 Class Sort { 3 /* * 4 *
PHP frameworkThis reduces the need for repeated coding for developers of various technical levels, accelerates the development process, and ensures correct coding when creating web applications. This not only accelerates the process of rich
I have just been in contact with PHP for more than a month, but I am not quite clear about some of the knowledge points in the learning process. I 've sorted it out [only limited to basic PHP object-oriented syntax knowledge] Method Parameters
1):
1.Layout problems
CSSStyle Sheet priority
If a setting in a style sheet conflicts with a webpage setting, the priority of the style sheet prevails.
InCSSDetailed settings for various style formats in the style sheet"(Rename the new
Serialize() AndUnserialize() The explanation in the PHP manual is:
Serialize-Generates a storable representation of a value
Serialize-Generate a representation of a stored value
Unserialize-Creates a PHP value from a stored Representation
Question:
1. In a diving competition, eight judges scored the score. The score for an athlete was 8. The highest score and the lowest score were removed. The average score of the remaining six scores is the final score. Use a one-dimensional array
1. function: it can be understood that a function completes a function.ProgramCommand set. It can be divided into user-defined functions and system functions (viewed in the PHP document ).
2. define functions:
Function Name(Parameter list ){
To enable PHP to read cookies, you must assign values to cookies before the server sends any content to the client browser. To do this, the cookie settings must be placed in the label:Setcookie (\ "cookieid \", $ userid );?>The setcookie function
PHP
Program It's not just a treasure. With the widespread use of PHP, some hackers do not want to bother with PHP, and attacking through PHP program vulnerabilities is one of them. In this section, we will analyze the security of PHP in terms of
I. How does PHP read files?
PHP can read files from the current server or remote server. The steps are: open the file, read the file, and close the file.
1. How to open a file in PHP
Use PHPFunction fopen ()Open a file. fopen () generally
Below is Code Fragment:/*************************************** ************************************* Pinyin. php*------------------------------* Date: Nov 7, 2006* Copyright: modifies the network code. The copyright belongs to the original author.*
Serialization is probably the form of converting some variables into byte streams of strings, which is easier to transmit and store. Of course, there is nothing to do with data transmission and storage. The key is that data can be converted back in
Windows azure has been released for some time. The support of fast CGI allows PHP to run on it.
[More information for access to http://phpazure.com/]
With the following simple configurations, Your PHP can be published to the cloud.
1.
Create a database in MySQL and name it "Database" (customizable). Create a new table and name it "news" (because it is a news release, just give it a memorable name, can be customized), and then create these field names:ID (Auto increment, which is
Float types can be represented in the following types:
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 PHP 2 $ = 1.234 ; 3 $ B = 1.2e3 ; 4 $ C = 7
1. array definition:
$ Arr [0] = 1;$ Arr [1] = "hello ";$ Arr [3] = 2.5;
[0]: indicates the subscript of an array, or a keyword.
$ Arr [0]: represents an array element.
$ Arr [0] = represents the array value
$ Arr: the name of the array.
Eg:
//
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