PHP & MYSQL server configuration instructions Apache 1.3.22 for Win32 + PHP 4.0.6 + Active Perl 5.006001 + Zend Optimizer v1.1.0 + mod_gzip 1.3.19.1a + MySQL 4.0.0 Alpha
Although Apache 1.X for win32 is ** poor in performance (it is too far behind
The function for GD to output Chinese characters is analyzed early, and a comparison table (gb2312.txt) with a Gbit to unicodeis found, which is used to output Chinese characters in GD. When the content to be output contains Spanish characters,
Use sockets: get the article from the newsgroup (2) dialog with the server
Now that we have connected to the server, we can talk to the server through the socket opened previously. For example, we want to get the last 10 articles from a news group.
How to use Oracle database in PHP (4) use OCI to input data to the data table 'email _ info'
Same as above, but it is written using OCI.
Related PHP code:
If ($ submit = "click "){
// The submit button was clicked!
// Get the input for fullname
A database abstraction layer function library for mysql
//
// SourceForge: Breaking Down the Barriers to Open Source Development
// Copyright 1999-2000 (c) The SourceForge Crew
// Http://sourceforge.net
//
// $ Id: database. php, v 1.6 2000/04/11 14:
PHP4 and MySQL database operation functions explained in detail that PHP cannot help but mention MySQL, so PHP must be mentioned. The rapid rise of PHP is inseparable from MySQL, and the wide application of MySQL is also related to PHP.
The
The learning methods for getting started with PHP are different for everyone. the purpose of writing this article is to share your learning process for reference only. do not blindly use others' learning methods, find useful learning methods for
PHP5.0: a complete practical method for creating a graph. This article will show you how to use PHP to build an object-oriented graph layer. The use of object-oriented systems can be used to build complex graphics, which is much easier than using
PHP's MD5-encrypted 16-bit and 32-bit implementation code has been found by many people on the Internet. it is correct to find a solution and record it.
The code is as follows:
Echo substr (md5 ("admin"), 8, 16); // 16-bit MD5 encryptionEcho
This is the php code used by uchome. when you are learning programming, you can see some mature cms systems at that time, provided that you are familiar with the program, otherwise, the study will be dispelled. UCHOME code is still very good. learn
How to configure the apachephp environment in linux. 1. install Apache
Copy httpd-2.2.4.tar.gz to the/usr/local/src directory.
Tar-zxvf httpd-2.2.4.tar.gz
Cd httpd-2.2.4
. /Configure -- prefix =/usr/local/apache2 -- enable-so --
Analysis of php kernel function natsort today found that PHP has a natural sorting function ---- natsort. the first time I heard that there was another algorithm called "natural sorting", I'm curious, official Manual
When you use php to upload files or perform operations on files such as moving files, the file naming problem is generally handled. if you use the original file name, you may encounter a situation where the file name already exists, some methods are
How to maintain interaction between the front-end page and the background CGI page without refreshing a new page during the web page creation process remains a problem. Here we will introduce two methods. Method 1: use cookies for interaction.
There
When using PHPDOMDocument to create a dynamic XML file to process XML-based applications, developers often need to establish an XML-encoded data structure. For example, in the Web, XML status templates based on user input, XML statements for server
Calculate the time difference between the two timestamps. in the past, the actual number of days has been released by the home of Fool, which can be specific to the number of hours. For more information, see.
This is the php code specific to the
When writing a program, developers usually translate the operation logic that has been designed or conceived directly in programming languages. About the Author
Wang Dandan, a software engineer at IBM China system and technology center, has been
Php to get the code summary of the currently accessed file name. you can select as needed. Recommended functions:
First, PHP obtains the URL of the current page: dedecms also uses this
The code is as follows:
// Obtain the current script
The OutputControl function allows you to control the output of data in the script. It is very useful, especially when you want to output the file header after the data has been output. The output control function does not affect the header
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