Adminconfig.php This is the configuration of all file permissions in the background system.
Fun.php This is a function function
left.php Web site background based on the user login ID to load the corresponding function menu
op.php calling
Mind Mapping
IntroducedTake the following PHP talk about refactoring-improving the design of existing code to reorganize your function to continue refactoring. This chapter focuses on the reconstruction of data. 1. The voice of controversy-access
PHP supports 8 basic types of data.
Four types of scalar:
Boolean (Boolean)
integer (integer type)
float (floating-point, also called double)
String (String)
Two kinds of composite types:
Array (arrays)
Object
A total of two pages, register.php and verify.php
1. User Registration Form register.php
Copy the Code code as follows:
2. Create User Data tables usersCopy the Code code as follows:CREATE TABLE IF not EXISTS ' users ' (
' id ' int (one)
PHP connection sql2005 problem, now integration, while the FAQ integration.
The tutorial I wrote earlier:
Configure the system before connecting:
1. Check the file Php5.2.5/ntwdblib.dll by default there is one, cannot connect and replace.
Download
Copy CodeThe code is as follows:
echo "Current operating system Information". Php_os. "
";
Echo ' This file path and file name is: '. __file__. '
';
echo "Current PHP version information". Php_version. "
";
?>
Common PHP pre-defined
PHP forms are backed up after submission, and the contents of the form are emptied by default (when using Session_Start).
The workaround is after Session_Start (), the character output is written before the
Copy CodeThe code is as follows:
Header ("
1. Nginx Rewrite rules related directives
Nginx rewrite rules related directives have if, rewrite, set, return, break, etc., where rewrite is the most critical instruction. A simple nginx rewrite rule syntax is as follows:
Rewrite ^/b/(. *)
First, in the php.ini file; Extension=php_pdo_mssql.dll, extension=php_pdo_odbc.dll the semicolon in front of the removal, corresponding to which way to connect the MSSQL. Note To restart the service for it to take effect.
First, establish a
We often see some websites that show the type of browser you are currently using and the language you are using, such as: The browser you are using is IE6, traditional. It seems to be not very flashy.
In fact, such a function is not difficult to
When we build a website, programmers prefer the PHP language. We are still familiar with PHP, and then we will introduce you to the PHP recursive algorithm. PHP, a nested abbreviated name, is an abbreviation for the English Super Text preprocessing
Copy CodeThe code is as follows:
Select From_unixtime (pubtime, '%y-%m ') as Pubtime, COUNT (*) as CNT from articles Group by from_unixtime (Pubtime, '%y-%m ')
PHP Articles by date (day) SQL archive
Copy CodeThe code is as follows:
Select
PHP generated static article HTML, there are batch generation, but the standard should be added when the article is generated HTML articles, edit and then re-generated HTML articles, delete the article also like to delete the extra HTML article,
Instance code:
Copy CodeThe code is as follows:
/**
* **********************************************************
* Read Me
* Article pagination
*
* Paging method, can be paged by the number of words, according to line breaks, according to special
However, when you use a database that is located on a different computer than the WEB server, it is often a good idea to cache the database result set. However, determining the best caching strategy based on your situation is a challenge. For
First we introduce the use of your own database to query multiple mobile phone numbers, it is recommended that you have a mobile phone number database. Under normal circumstances, just to meet the general query, you do not need to buy the
Interpreter (interpreter) mode, which consists of a grammar representation with a hierarchical hierarchy of compounds, rules are mapped to classes, and expressions following the grammar can be converted into an abstract syntax tree, with no content
1
, update
1
sudo apt-get update
2. Installing nginx
1
sudo apt-get intsall nginx
the file structure of Ubuntu after installation is roughly :* all configuration files are under /etc/nginx , and
Before using the database, we had better connect the database automatically: config/autoload.php automatically load $autoload [' libraries '] = Array (' database ');
Some common functions
Select data$this->db->select ();allows you to write the
Php_screw is really good, but it can only play the role of encryption, and does not accelerate and optimize the role.
Let's take a look at the following:
Turck MMCacheIts role is to speed up and optimize the PHP code by compiling the PHP code, if we
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