Common php string handler functions: 1. character location lookup function:
Strpos ($ str, $ seach, [int]); searches for the first position of search in $ str starting from int;
Stripos ($ str, $ seach, [int]); returns the position where the string
Database MySql Review (1)A database is an ordered set of a batch of data. The data is stored in some structured tables in different categories, and there is often a cross-reference relationship between data tables, this relationship makes the
Common commands:Connect to sqlplusRun CMD in the command line to enter. For example, to log on in SYS mode, the command is as follows:(1). sqlplus "sys/zhb126 as sysdba"
(2). sqlplus/nolog connect sys/zhb126 as sysdba
(3). sqlplus Scott/Tiger
Start
Unicode Environment SettingsWhen installing Visual Studio, you must add the Unicode option when selecting VC ++ to ensure that the relevant library files can be copied to system32.
Unicode compilation settings:C/C ++, Preprocessor difinitions
Implement Chinese-English character set conversion under SQLPLUSAlter session set nls_language = 'American ';Alter session set nls_language = 'simplified CHINESE ';Key knowledge points:I. Operations on tables1) create a tableCreate table test as
**************************************** ***************************
'Get the IP address
'*************************************** ****************************
Function userip ()
Dim getclientip
'If the client uses a proxy server, use the
F # and FP
Written by Allen Lee
Be yourself
When it comes to introverted personality, people will think of "Silence, do not love to talk", "unsociable, poor communication", "mysterious, not open enough" and other personality characteristics.
The first step is to design the [System Management] module, which is also a general system step.
The simple UML activity diagram is as follows:
Databases include:LoginfoOperation Log information table sysoptlogOrganization basic info table
Mind Map
This section describes the pointer and array (1) in the previous Article C. Pointers and arrays -- perform expansion above
Do you know what X = y is like during compilation and running?
Character pointer and function 1> A string is an
Implement Chinese-English character set conversion under sqlplusAlter session set nls_language = 'American ';Alter session set nls_language = 'simplified Chinese ';Key knowledge points:
I. Operations on tables1) create a tableCreate Table Test as
I. system conventions
1. System Environment
CentOS-4.4.ServerCD: Linux
Apache: 2.2.4
MySQL: 4.0.26
PHP: 4.3.11
Zendoptimizer: 3.2.2
PhpMyAdmin: 2.10.0.2
2. source code package storage location:/usr/local/src# Why should we perform tarball in/usr/
1. Set linesize 100; set the length
2. Set pagesize 30; set the number of entries displayed on each page
3. Run em a. SQL to open notepad.
4. @ A: run the code in file a. You can specify the file path @ D: a.txt.
5. the conn user name/password is
Document directory
Unicode compilation settings:
UNICODE: Wide-Byte Character Set
Development Process:
Unicode macro and _ Unicode macro
In Windows programming, Unicode programs are often compiled by adding Unicode or _ Unicode compiling
Numeric functions:
Absolute Value of ABS (m) mMoD (m, n) m remainder after N DivisionPower (m, n) M's n powerRound (M [, N]) the value of M rounded to N digits after the decimal point (N defaults to 0)Trunc (M [, N]) m truncates the value of N
Numeric functions:
ABS (m) Absolute Value of mMoD (m, n) m remainder after N DivisionPower (m, n) M's n powerRound (M [, N]) the value of M rounded to N digits after the decimal point (N defaults to 0)Trunc (M [, N]) m truncates the value of N
With the development of the times, our development technology is also updated, and PHP is still quite common. So I have studied PHP array conversion to string, and I will share it with you here, I hope it will be useful to you.
PHP is often used to
The use of a few character functions such as mb_substr is not very easy to use, or this is more useful.
/*** Truncation function to prevent garbled characters ***/function z_substr ($ sourcestr = '', $ I = 0, $ cutlength = 150, $ endstr = '') {$
We have sorted out the most common Oracle commands for Oracle beginners to learn!
1,Create a tablespace:Create tablespace name datafile' file address and file name '[size] [autoextend [on | off];
Note: [size] indicates the size of the tablespace to
1. Oracle single row FunctionsOracle character functions 1.1LOWER: lowercase string;Select LOWER ('help') from dual ---> HeLpUPPER-case strings;Select UPPER ('help') from dual ---> HeLpINITCAP upper case of the first letter of the string, and lower
There are two methods
1. The installation port is 3306 mysql
Tar-zxvf mysql-5.1.44.tar.gz
Cd mysql-5.1.44
Create a mysql user group
Groupadd mysql
Create a user named mysql3306
Useradd-g mysql mysql3306
Compile and install
. /Configure -- prefix
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.