/*
+-------------------------------------------------------------------------------+
| = This is haohappy read
>
| = Notes in Classes and objects Chapter
| = Translation-based + personal experience
| = Please do not reprint in order to avoid
"Simple text typesetting by VB code"
Reason: 1.1. The 4 version does not have these, and the domestic more famous Ubb hack House adds a lot of UBB code (VB code) for the text typesetting.
Advantages: Only a few lines, can be achieved, very
A simple example of color rotation, using ternary operators to make the program concise.
We have seen some of the table cells on the site the background color is interlaced, in fact, with a small section of the following code can be implemented:
UNTITLED
Include "connect.inc.php";
if ($subject) {
$query = "Select Name,email from User";
$res = mysql_query ($query);
$row = Mysql_fetch_array ($res);
while ($row) {
Mail ($row [' email '], $subject, $row [' name ']. ": N". $text. " N China
Tree-type directory structure template program
Menu Catalog Library Field Description:
MENU_ID menu item ID
Menu Name
Menu_grade Menu Level 1 Main Menu 2 for level two menu ...
Menu_superior first-level menu ID number
function My_menu ($menu
PHP configuration function is a few ini_* functions, mainly for the operation of the configuration file, in fact, four functions: Ini_get, Ini_set, Ini_get_all, Ini_restore. The most useful thing about personal feeling is ini_set and ini_get.
*
Object XML parsing function description
The start and end of the element Xml_set_element_handler () element
Start of character data Xml_set_character_data_handler () character data
External entity Xml_set_external_entity_ref_handler () external
$bookSQL =sprintf ("UPDATE book SET pass=%s WHERE id=%d",
Getsqlvaluestring ($_post[' list '], "text"),
Getsqlvaluestring ($_get[' id '], "int"));
Getsqlvaluestring This function can be replaced by other functions
But here's the function of
The classic PHP thumbnail generation program, based on the GD library, can specify the path to build and the width and height of the target usage method: In a PHP environment that supports the GD library, save the following code as a resize.php test
To view the list of international domains you are ready to delete:
Two websites from abroad
Http://www.pool.com/viewlist.aspx
http://www.deleteddomains.com/today_deletions.php
Foreign site speed is a bit slow
Domestic, international domain name
A design tool
UML and related design tools
-Argo UML
UML Drawing tools to support PHP stub generation. (Commercial spin off is Posideon) –java written.
-Umbrello UML
UML Drawing tools to support PHP stub generation. Need unix/kde.
-Dia
UML-enabled
PHP enables NFS sharing for multi-server session sharing
In the preface, the problem of multi-server sharing is presented by the NIO Warrior, and the original data of the server sharing session with PHP is shown.
One way is to use NFS to share the
Ideal for database administrators who are unfamiliar with database operations commands, here's how to install the tool:
1. Download the phpMyAdmin online first, and then unzip to the web directory that can be accessed (if it is virtual space, you
Many of the programming idioms summarized here are well worth doing for a single chapter, or even a book. You should use this chapter as an Introduction to PHP pattern design using idioms, and look at some of the listed reference books for more
PHP is not the same, PHP contains the zlib link library, you can directly use its related functions, the following is the example I wrote compression and compressed SWF file:
Not added to determine whether the SWF file has been compressed, into the
Although PHP is a powerful tool for building WEB systems, the functionality of PHP Access databases has not been standardized, and each database uses a different and incompatible application interface (API). In order to fill this shortcoming, there
Download the installation program
Apache can download from http://www.apache.org/dyn/closer.cgi/httpd/binaries/win32/
PHP can be downloaded from http://www.php.net.
Two installation programs
1, Apache program installation is relatively simple, we
The main use in PHP is to use Fread () and Fwirte (). When a static page is generated, it involves a modification. A regular matching method can be used here to replace the changed parts of the template. However, this method is too cumbersome, the
Flash needs JSON format data, so, there is the following code: (PHP implementation, C # Similar, JSON library to go down to it ~ ~)
Copy CodeThe code is as follows:
--Query user downline information, return JSON, for Flash
if (!empty ($_get['
Because of the need to connect to Oracle so from two times development and page style personally feel phpmydatagrid is better to get started. This article begins with a MySQL-based approach, and briefly introduces two development for Oracle
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