03 Time to read a PHP book, then still PhP3, looking back four years PHP in the web opened the prospect is really bright ah! Three years of missing PHP is going to see the php5, and now I really from writing the first PHP Web start from today or
Codz by Sword Heart
The exploiet of the all Phpwind Version
By Sword Heart
Ini_set ("Max_execution_time", 0);Error_reporting (7);
$path = "/search.php";$server = ' bbs.ccidnet.com ';$cookie = ' lastfid=0; ol_offset=
First, Introduction
UTF-8 is an encoding of Unicode characters that are often used in Web applications, and the advantage of using UTF-8 is that it is a variable-length encoding, with a length of 1 bytes for ansii encoding, so that when a page
usually with Number_format (); To format a number, by default the thousand characters are separated by commas, such as:
Copy CodeThe code is as follows:
Echo Number_format ("10000.01231", 2);
Take 2 digits after the decimal point, the result of the
System is small, the process of completing this system I divided three steps
• Database Design
• System Framework Design
• Front-end Landscaping
design of the database
Design Three sheets: poll results table (count_voting), voter record (ip_votes)
Copy CodeThe code is as follows:
Mobile phone number Verification
function Checkmobilevalidity ($mobilephone) {
$exp = "/^13[0-9]{1}[0-9]{8}$|15[012356789]{1}[0-9]{8}$|18[012356789]{1}[0-9]{8}$|14[57]{1}[0-9]$/";
if (Preg_match ($exp, $mobilephone))
When setting a COOKIE on a page, you must refresh or go to the next page to get the value of the variable using $_cookie.
The reason is that when the page is first loaded by the browser, the cookie in the page is set and sent to the client's
Because the use of PHP to write the main color recognition function is too much trouble, so I would like to introduce the use of K-means clustering algorithm to identify the image of the main tone method, than PHP 100 times times Oh.
Identify the
PHP tutorial for image watermark and upload image watermark PHP class
/** Function: PHP image watermark (watermark supports picture or text)Parameters* $groundImage background image, that is, need to add a watermark image, temporarily only support
When using
The XML file used is also an example of XML in the article "How to use PHP XML to Process SimpleXML", the file name is: Me.xml. The code is as follows:
PHP XML processing XML code
? xml version = "1.0" encoding="utf-8"?>
The motto: Reading and writing files is one of the only things our programmers do on an empty night when there is no database in the year (perhaps not necessarily oh ~ ~ ~). So even now that this technology has become simple, fast and ordinary, we
Session management is an important part of web development, including session and cookie two technologies. 1, the cookie Works Setcookie () 2, the cookie application development can only read the domain single domain cannot exceed 20 cookies, each
PHP (as the current mainstream development language) +mysql (and PHP collocation of the best combination) +wiki
Installation steps
1:mysql (Best mix with PHP)
# RPM-IVH MySQL (the best mix with PHP) *.rpm
# service MySQL (and PHP collocation of the
This article mainly describes how to complete the porting process of PHP application system based on DB2 from AIX platform to Linux platform. This paper includes the basic DB2 database porting, the detailed steps of porting the PHP application
Game Development Series One: Enemies in the game (1)
http://www.flashempire.com/school/tutorview.php?id=530
For the current Flash, the development of some smarty pants game is not a strange thing. I am involved in the content and development of the
(Author: Cao Wenrong, Levi) in general, the establishment of a Web site to consider the hardware platform, operating system, database, Web server, Web application software, and other choice issues. In addition, most Web servers are primarily
The first part of the article has led you to the structure of the php.ini file, and explains how to modify the PHP lookup path, error handling, and related options for the parser. The second section will delve into the configuration file, including
The article introduces in detail about the differences between single and double quotes in PHP, and the students who need to know can refer to them.
1. Defining stringsIn PHP, the definition of a string can use either single quotation marks or
PHP Traversal Loop Array implementation method, PHP loop array
Simply use the foreach for list every while to iterate through the array, including a normal one-dimensional array and a two-dimensional array traversal method, with a detailed
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